1. Home
  2. WordPress & websites
  3. How do I login to WordPress admin?

How do I login to WordPress admin?

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’ll go through the various ways by which you can access the admin inteface of your WordPress installation.

Via the wp-admin URL

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 exempel.se for your domain name where you have WordPress installed):

  • exempel.se/wp-admin/
  • exempel.se/wp-login.php

The URL for logging in can differ from the ones listed above, e.g. 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.

When you reach the login page, enter your credentials, and click Log In.

If you do not have your password to log in, you can get a new one following these instructions.

Via Softaculous

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:

  1. Begin by logging on to cPanel of the web hosting account where you have the WordPress installation.
  2. Find the icon Softaculous Apps Installer under Software.
  3. Once you’ve reached Softaculous, click the box icon (All installations) by the top right.
  4. In the list you’ll see your installations. Find the header WordPress, under which you’ll see all your WordPress installations. Click on the icon under Admin to get logged on to the specific WordPress installation.

If you cannot find the specific installation in the list, you first have to import it to Softaculous.

Via WordPress Toolkit

To reach the admin interface on a WordPress installation managed by WordPress Toolkit, begin by going to the WordPress Toolkit interface. Then click the row for the installation you want to log on to. Then click the Log in button just below the site preview image.

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 this guide to set new ones.

Via wp-cli

This method is only for advanced users. You are assumed to be fully knowledgeable about SSH.

Since the tool we use in these instructions – wp-cli – isn’t developed by us, we cannot be held responsible for any mishaps that occur when using the tool.

A fourth method to access WordPress admin is via wp-cli. However, you need to install an extra package for wp-cli to use it, and how you do this is described below.

  1. Log on via SSH to your web hosting account where the WordPress installation you wish to access resides.
  2. Run the following command to install the extra wp-cli package on the web hosting account:
wp package install aaemnnosttv/wp-cli-login-command
  1. Go to the directory where the WordPress installation is installed (e.g. via cd path/to/wordpress).
  2. Activate the extra package for wp-cli on the installation:
wp login install --activate
  1. 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 USERNAME for the user you want to access WordPress with (it must be an exisiting user).
wp login create USERNAME
  1. A login URL will now be created and shown:
Success: Magic login link created!
------------------------------------------------------
https://exempel.se/7cd4c141/3a2893-470103-3215d81b07
------------------------------------------------------
This link will self-destruct in 15 mins, or as soon as it is used; whichever comes first.

On the Github page for the package, you can find more information about additional features that the package includes.

If you have several WordPress installations on your web hosting account, you need to run wp login install --activate in the directory for all installations.

Was this article helpful?

Related Articles