{"id":12659,"date":"2020-04-01T14:54:41","date_gmt":"2020-04-01T13:54:41","guid":{"rendered":"https:\/\/www.oderland.se\/support\/artikel\/hur-loggar-jag-in-pa-admindelen-av-wordpress\/"},"modified":"2024-03-13T10:58:06","modified_gmt":"2024-03-13T09:58:06","slug":"how-do-i-login-to-wordpress-admin","status":"publish","type":"ht_kb","link":"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-wordpress-admin\/","title":{"rendered":"How do I login to WordPress admin?"},"content":{"rendered":"\n<p>One of the practical aspects of WordPress is that all administration, modifications etc can be done via an admin interface available online. Therefore, you do not have to install any software on your computer to manage the website. In this guide we&#8217;ll go through the various ways by which you can access the admin inteface of your WordPress installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Via the wp-admin URL<\/h2>\n\n\n\n<p>The default way to reach WordPress admin for an installation os via the wp-admin URL. You should be able to use one of the following variants (just swap out <code>exempel.se<\/code> for your domain name where you have WordPress installed):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>exempel.se\/wp-admin\/<\/li>\n\n\n\n<li>exempel.se\/wp-login.php<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">The URL for logging in can differ from the ones listed above, <em>e.g.<\/em> if you have installed a plugin to hide the login page. If you have lost the URL for the login page, try any of the other methods described below.<\/p>\n\n\n\n<p>When you reach the login page, enter your credentials, and click <code>Log In<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2021\/03\/wp_login_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"524\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2021\/03\/wp_login_en.png\" alt=\"\" class=\"wp-image-12663\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If you do not have your password to log in, you can get a new one <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-reset-my-password-for-wordpress\/\" target=\"_blank\">following these instructions<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Via Softaculous<\/h2>\n\n\n\n<p>Another way in is via our one-click installer Softaculous, which you reach via cPanel. To login to your WordPress site this way, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Begin by <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-login-to-whm\/\" target=\"_blank\">logging on to cPanel<\/a> of the web hosting account where you have the WordPress installation.<\/li>\n\n\n\n<li>Find the icon <code>Softaculous Apps Installer<\/code> under <code>Software<\/code>.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer.png\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"253\" class=\"wp-image-18656\" style=\"width: 712px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer.png\" alt=\"\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer.png 712w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer-300x107.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer-50x18.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer-60x21.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_icon_softaculous_apps_installer-100x36.png 100w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/a><\/li>\n\n\n\n<li>Once you&#8217;ve reached Softaculous, click the box icon (All installations) by the top right.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons.png\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"68\" class=\"wp-image-1115\" style=\"width: 441px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons.png\" alt=\"\" srcset=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons.png 441w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons-300x46.png 300w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons-50x8.png 50w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons-60x9.png 60w, https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2017\/02\/softaculous-icons-35x5.png 35w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/a><\/li>\n\n\n\n<li>In the list you&#8217;ll see your installations. Find the header <code>WordPress<\/code>, under which you&#8217;ll see all your WordPress installations. Click on the icon under <code>Admin<\/code> to get logged on to the specific WordPress installation.<br><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/softaculous_log_on_to_admin_button.png\"><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"154\" class=\"wp-image-14897\" style=\"width: 355px;\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/softaculous_log_on_to_admin_button.png\" alt=\"\"><\/a><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If you cannot find the specific installation in the list, you first have to <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-import-a-website-to-softaculous\/\" data-type=\"ht_kb\" data-id=\"12710\" target=\"_blank\">import it to Softaculous<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Via WordPress Toolkit<\/h2>\n\n\n\n<p>To reach the admin interface on a WordPress installation managed by WordPress Toolkit, begin by <a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-access-wordpress-toolkit\/\" data-type=\"ht_kb\" data-id=\"12674\" target=\"_blank\">going to the WordPress Toolkit interface<\/a>. Then click the row for the installation you want to log on to. Then click the <code>Log in<\/code> button just below the site preview image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_wptk_login_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"431\" src=\"https:\/\/www.oderland.se\/support\/wp-content\/uploads\/2020\/04\/cpanel_wptk_login_en.png\" alt=\"\" class=\"wp-image-12734\"\/><\/a><\/figure>\n\n\n\n<p>The login page for WordPress admin will now open in a new tab (you may have to tell your web browser to allow popups). Then enter your credentials to log in. If you have forgotten the credentials, follow <a href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-reset-my-password-for-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">this guide<\/a> to set new ones.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Via wp-cli<\/h2>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">This method is only for advanced users. You are assumed to be fully knowledgeable about SSH.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Since the tool we use in these instructions &#8211; wp-cli &#8211; isn&#8217;t developed by us, we cannot be held responsible for any mishaps that occur when using the tool.<\/p>\n\n\n\n<p>A fourth method to access WordPress admin is via <a rel=\"noreferrer noopener\" href=\"https:\/\/wp-cli.org\/\" target=\"_blank\">wp-cli<\/a>. However, you need to install an extra package for wp-cli to use it, and how you do this is described below.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.oderland.se\/support\/en\/artikel\/how-do-i-connect-to-my-web-hosting-account-using-ssh\/\" target=\"_blank\">Log on via SSH<\/a> to your web hosting account where the WordPress installation you wish to access resides.<\/li>\n\n\n\n<li>Run the following command to install the extra wp-cli package on the web hosting account:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">wp package install aaemnnosttv\/wp-cli-login-command<\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Go to the directory where the WordPress installation is installed (<em>e.g.<\/em> via <code>cd path\/to\/wordpress<\/code>).<\/li>\n\n\n\n<li>Activate the extra package for wp-cli on the installation:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">wp login install --activate<\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>You will now be able to create login URLs for all users set up in WordPress by running the command below, where you swap out <code>USERNAME<\/code> for the user you want to access WordPress with (it must be an exisiting user).<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">wp login create <code>USERNAME<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li>A login URL will now be created and shown:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">Success: Magic login link created!\n------------------------------------------------------\nhttps:\/\/exempel.se\/7cd4c141\/3a2893-470103-3215d81b07\n------------------------------------------------------\nThis link will self-destruct in 15 mins, or as soon as it is used; whichever comes first.<\/pre>\n\n\n\n<p>On <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/aaemnnosttv\/wp-cli-login-command\" target=\"_blank\">the Github page for the package<\/a>, you can find more information about additional features that the package includes.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If you have several WordPress installations on your web hosting account, you need to run <code>wp login install --activate<\/code> in the directory for all installations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the practical aspects of WordPress is that all administration, modifications etc can be done via an admin interface available online. Therefore, you do not have to install any software on your computer to manage the website. In this guide we&#8217;ll go through the various ways by which you&#8230;<\/p>\n","protected":false},"author":12,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"ht-kb-category":[209],"ht-kb-tag":[],"class_list":["post-12659","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress-websites"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/12659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/comments?post=12659"}],"version-history":[{"count":22,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/12659\/revisions"}],"predecessor-version":[{"id":22263,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb\/12659\/revisions\/22263"}],"wp:attachment":[{"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/media?parent=12659"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-category?post=12659"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.oderland.se\/support\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=12659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}