301 redirects that I don't want > result of Multisite & .htaccess changes?
-
I’ve noticed some 301 redirects in place that I haven’t *explicitly* setup.
i.e.
https://wedo.net.nz/gallery/ redirects to https://wedo.net.nz/photobooth/gallery/
https://wedo.net.nz/pricing redirects to https://wedo.net.nz/photography/pricing/
https://wedo.net.nz/kat redirects to https://wedo.net.nz/blog/2011/03/katrina-ant-sneak-preview/And more.
I think I actually know why this is happening – there’s a pattern here, and some sort of generic redirect going on where *some* of the URL is being matched. I don’t understand my .htaccess and mod_rewrite well enough to understand where/how/why, but the problem is – I don’t want this happening.
Here’s my .htaccess, courtesy of a MultiSite installation very recently:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]
What can I do to avoid the redirects above???
- The topic ‘301 redirects that I don't want > result of Multisite & .htaccess changes?’ is closed to new replies.