Redirect Loop – Multisite Network installaion with SubDomains
-
Hi all, this one is sending me spare… for no reason today i was working away on my sites, ready for launch in 24 hours and all of a sudden I started to get the redirect loop error, when i say working, I was not installing anything, I was not touching the admin, I was simply uploading content.
The ONLY thing I installed today was something called geo redirect – yes sounds like the culprit, but I only installed it on one of the sites site, set it to redirect people coming from china to the china site, then removed the setting as I wasn’t ready – so far I have changed the folder i plugins to old_…. I installed this about 5 hours before the redirect issue started happening, so I don’t think it’s related.
I have two sites, with the same host, dedicated, same box but different instances…
Both sites are running WP network in domain, with BP_Multisite
So
site1.com
subsite1.site1.com
subsite2.site1.com
etcSites are bouncing back and forth between www and none www in the URL then browsers says there is a redirect loop.
Sites are virtualsport.net and virtualsportchina.net
Host is saying ‘NOT US’ I argued someone had been playing with DNS.. noop, seems not they say!
.htaccess below:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] #BEGIN s2Member GZIP exclusions <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ RewriteRule .* - [E=no-gzip:1] </IfModule> # END s2Member GZIP exclusions
wp-config below:
<?php define('WP_CACHE', true); define ( 'MULTISITE', true ); define ( 'SUBDOMAIN_INSTALL', true ); $base = '/'; define ('DOMAIN_CURRENT_SITE', 'virtualsport.net'); define ( 'PATH_CURRENT_SITE', '/' ); define ( 'SITE_ID_CURRENT_SITE', 1 ); define ( 'BLOG_ID_CURRENT_SITE', 1 );
I’ve read lots of help docs on here about other peoples issues, none of the fixes have worked.
Gonna be a long night for me, need to fix this one … any help much appreciated.
- The topic ‘Redirect Loop – Multisite Network installaion with SubDomains’ is closed to new replies.