301 redirect status code changed to 404
-
301 redirects are not working properly. When I am logged into my site (and W3TC is therefore not active) the redirects work fine. If I log out and access a redirected URL it does not work properly.
See page link provided for an example (only shown to logged-in users).
This returns a horrible “Object Moved” page. The server is sending back a Location header (correctly) but a status code of 404 (incorrectly – should be 301).
The server is probably what is generating the “Object Moved” page, due to the strange situation of a location header + 404.
The redirects are managed by the Yoast SEO plugin. Are you aware of any conflict between Yoast and W3TC?
I got an even more obscure error about content encoding before, and then I turned gzip compression off in W3TC. It seems like W3TC was trying to gzip this page and somehow corrupting it. Maybe some sort of content-length mismatch as W3TC will not have been aware of anything the server was doing to the page afterwards.
The page I need help with: [log in to see the link]
The topic ‘301 redirect status code changed to 404’ is closed to new replies.