"Too many redirects" error after migration
-
After migrating my wp installation from an IIS-based server to a linux install (both on shared hosting environments), I can’t access my website anymore in the way I used to.
## Here is what I have right now:
1) I’ve been able to successfully import all data. You can see a post here: https://www.gelpalhano.org/site/?p=849 (permalinks currently disabled)
2) Admin page is accessible through https://www.gelpalhano.org/site/wp-admin (though I have to authenticate and then reload the page because the redirection does not work) and all works fine over there## Here’s what I’ve tried already to no avail:
1) disable all plugins
2) disable permalinks
3) truncate tables and reimport database
4) change DNS settings in my Plesk panelI imagine this is an .htaccess problem, but I’ve tried solving and could not manage it.
Here’s my .htaccess in the website root directory
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /site/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Here’s my .htaccess in /site (wordpress) directory
php_value max_input_time 200 php_value post_max_size 20M php_value max_execution_time 200 php_value upload_max_filesize 15M # rewrite da locaweb - subfolders # https://groups.google.com/group/wordpress-brasil/browse_thread/thread/74cf79678bf41fc?pli=1 RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . /site/index.php [L]
I appreciate any help and thank the good souls in advance. ??
- The topic ‘"Too many redirects" error after migration’ is closed to new replies.