Can not Login to Staging Website. Reset WordPress Admin Password

If you can not log in to the staging site created by WP STAGING, the following reasons could be responsible:

WP STAGING Custom Authentication

WP STAGING creates an extra authentication form in front of your website to prevent your site from being accessed by other people or search engines.

It looks similar to that:

WordPress login form
The WP STAGING WordPress login form

If you can not log in to your staging site using this login form, you can disable it.

The Free and the Pro Version have both slightly different settings to do that:

The Pro Version gives you the option to allow specific users direct access:

Allow access from all visitors screenshots
This option is available in WP STAGING PRO only

The Free Version only allows you to disable the authentication at all:

Disable admin authorization in the basic version of WP STAGING

Go to WP STAGING > Settings and disable the login prompt by allowing all users to access your staging site:

After that, you need to create a new staging site to make this option available to it.

Alternatively, you can disable WP STAGING on the existing staging site by renaming its plugin folder wp-content/plugins/wp-staging(-pro) to something else.

The login prompt is gone, and you can access your staging site.

Security Plugins & Custom Login Pages

Do you run a security plugin on your live/staging website, for instance, WordFence, WP Spamshield, HideMyLogin, or anything similar?

To fix the login issues, try the following:

  • Disable security or login plugins on the staging site or create a new staging site and exclude these security plugins from the cloning process.

Create a new staging site and disable the particular plugins on the staging site by excluding them in the WP STAGING file selection manager before you start the cloning process:

The Username Contains Space Characters

The database table wp_users stores the internal WordPress username in the column user_login.

Remove any space characters from your username there.
Usernames with white spaces do not always work and can lead to login issues.

Username working samples:

Not recommended: WP Staging User
Recommended: WPStagingUser

Disable WP STAGING to Disable Custom Authentication Form

If you are still not successful in disabling the WP STAGING extra login prompt, you can disable the WP STAGING plugin on the staging site by either excluding it from the cloning process or by renaming the plugin folder wp-content/plugins/wp-staging to something else.

Reset WordPress Admin User

If all options are not successful, it could mean that the username or password on the staging site has been changed. Maybe one of your coworkers changed it without letting you know.

In that case, you can try to reset the login credentials by using the password reset link.

f this still does not work, and your username is not available anymore in the staging sites database, you can create a new admin user by following this article.

Contact Us for Assistance

If you need further help, we can offer you a look at your website to find out why you can not log in.

In that case, please open a support ticket and send us the system info log from wp staging > tools > system info

Also, let us know if you get any specific error messages when logging in.



Updated on November 23, 2022