htaccess redirect, now can’t access admin panel
-
Hi Everyone
I recently did an htaccess redirect of my wp site, making the http:// myaddress.com go to http:// www .myaddress.com (added spaces to remove link) . The redirect itself works, but now I cannot access the admin panel. I’ve reverted to the original htaccess file and still can’t access it.All it shows is a blank page.here is the original htaccess:
# Use PHP5 as default AddHandler application/x-httpd-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
my modified htaccess:
# Use PHP5 as default AddHandler application/x-httpd-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteCond %{HTTP_HOST} ^myaddress.com.com RewriteRule (.*) http://www.myaddress.com/$1 [R=301,L]
Any help would be greatly appreciated!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘htaccess redirect, now can’t access admin panel’ is closed to new replies.