i have been checking my www redirect, i have set my preferred domain in google as the www version and i have also set in my htaccess a 301 redirect from non www to www, i have checked these and they are working fine, but when checking in online tools (quite a fw different ones just to confirm) i get a notice saying that on the www version i have a 302 temporary redirect to the same url but with the zen id included.
when i type it in this doesnt seem to actually show up to users but its is showing up in these checks, it seems my site is doing some kind of a loop?
here is the information i have found:
Code:
#1 Server Response: http://livvylou.co.uk
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Thu, 06 Jan 2011 14:09:38 GMT
Server: Apache
Location: http://www.livvylou.co.uk/
Content-Length: 234
Content-Type: text/html; charset=iso-8859-1
Redirect Target: http://www.livvylou.co.uk/
#2 Server Response: http://www.livvylou.co.uk/
HTTP Status Code: HTTP/1.1 200 OK
Date: Thu, 06 Jan 2011 14:09:38 GMT
Server: Apache
X-Powered-By: PHP/5.2.13
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
this is the www redirect code i am using as suggested by my host as other versions were not working
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.livvylou\.co.uk
RewriteRule (.*) http://www.livvylou.co.uk/$1 [R=301,L]
my admin>config>sessions settings
Code:
Cookie Domain True Info
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
IP to Host Conversion Status true
(ive made no changes here and this is just as was installed)
and this is the redirect check results
Code:
#1
Checked link: http://www.livvylou.co.uk
Type of redirect: 302 Moved Temporarily
Redirected to: http://www.livvylou.co.uk/?zenid=### (ive taken this out)
#2
Checked link: http://livvylou.co.uk/
Type of redirect: 301 Moved Permanently
Redirected to: http://www.livvylou.co.uk/
the second one is fine, i have set that up but i have no idea how or why the 302 is coming about, i have checked on my cpanel and i cant find anything set up to redirect, my template is heavily customised and using quite a few addons but i am not using any seourl rewrite modules or similar and cannnot see anything that would conflict with this. ive tried taking off the non www redirect and all that does is shos the zen id in the url, same issue
i would really appreciate any suggestions, thanks
Bookmarks