page not found in Chrome, but found in Firefox

You are sending a very confusing response:

HTTP/1.1 301 Moved Permanently
Date: Sat, 20 Oct 2012 12:33:06 GMT
Server: Apache
X-Powered-By: PHP/5.3.13
X-Pingback: http://tech.doig.com.au/xmlrpc.php
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

After that the regular page content follows.

So in your first line you tell the browser to look elsewhere for the content. But you don’t say where, there is no Location header. And then you send the content?

Fix the HTTP header: send a proper status code (200), or a Location header with an URL for the new address.

Leave a Comment