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 : /wp-admin/backstagewhisp.local/wp-login.php?redirect_to=http%3A%2F%2Fbackstagewhisp.local%2Fwp-admin%2F&reauth=1
I changed to /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/)(.+)$
/$4
RewriteEngine On
RewriteBase /home/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]
</IfModule>
# END WordPress
can someone give me some advice to fix my error, thanks
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/)(.+)$
http://backstagewhisp.local/$4
RewriteEngine On
RewriteBase /home/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/index.php [L]
</IfModule>
# END WordPress
can someone give me some advice to fix my error, thanks
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:
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.