Duplicate Content Home Page http Status Code Query
-
Hi All,
We have just redone a site wide url migration (from old url structure to new url structure) and set up our 301's etc but have this one issue whereby I don't know if' it's a problem of not.
We have 1 url - www.Domain.co.uk**/** which has been set up to 301 redirect back to www.domain.co.uk
However, when I check the server response code, it comes back as 200.
So although it appears to visually 301 redirect if I put the url in the tool bar, the status code says different.
Could this be seen as a potential duplicate home page potentially and if so , any idea how I could get around it if we can't solve the root cause of it. This is on a cake php framework,
thanks
PEte
-
Hi Pete,
Have you set a canonical URL to the 'original homepage? If not, that's what I would recommend to do.
-
Try using something like LiveHTTPHeaders to view all of the HTTP requests and responses involved. You should see the request going to the redirected domain (GET domain.co.uk) and then the response such as HTTP/1.1 301 Moved Permanently followed by a new request to the new domain (GET domain2.co.uk) and the response will naturally be HTTP/1.1 200 OK because the server at the new domain has answered the request successfully.