I was copying my web from live host, but when I want to access admin dashboard, the url can't be accessed

The url is changed to be like this : http://backstagewhisp.local/wp-admin/backstagewhisp.local/wp-login.php?redirect_to=http%3A%2F%2Fbackstagewhisp.local%2Fwp-admin%2F&reauth=1

I changed to http://backstagewhisp.local/wp-login.php?redirect_to=http%3A%2F%2Fbackstagewhisp.local%2Fwp-admin%2F&reauth=1 , but still can't get to the login page.

I changed my .htaccess to be like this, but I'm still getting the error

# BEGIN WordPress
<IfModule mod_rewrite.c>
RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(?!page/)(.+)$ 
RewriteEngine On
RewriteBase /home/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]

# END WordPress

can someone give me some advice to fix my error, thanks


2 Answers 2


Reset Plugins Manually:

There might be an issue with the plugins. As you can't get into admin, you have to reset them manually. Just follow these steps mentioned here. If it solves the problem, activate the plugins one by one to find the defective one.

Activate Default Theme Manually:

If resetting plugins doesn't fix your issue, then you can try following these steps:

  1. Get access to your server via FTP.
  2. Head to to /wp-content/themes/
  3. Rename the directory of theme that is currently being used. It will activate the default theme. As a result, you can get rid of the issue caused by the previous theme.

I think the error showing for your .htaccess code. Which guidance do you follow to create this, if you share, it will help. Or use this code

# BEGIN WordPress RewriteEngine On RewriteBase / # Use the correct base path for your installation

RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] #END WordPress

it may be work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.