Welcome to WebmasterWorld Guest from 126.96.36.199
The document has moved here
Where the here is a hyperlink going to where the page supposed to go to.
It used to work on my server, but I just upgraded Apache, recompiled it with PHP5.
Here are some other details that may help...
301 redirects in my .htaccess file does not show this message.
301 redirects using PHP shows this. And I really want to use PHP in this case since the redirects are pulled from a database of old pages that no longer exist.
I am scanning my httpd.conf file looking for what I can change, but I can't seem to find anything yet.
But just to mention the solution to the problem:
<?php header("HTTP/1.1 301 Moved Permanently");
Of course the code above should come before everything else. And when I was using PHP4.3, it worked fine even if they were in some include() function. Now in PHP5, they need not only be the first thing in the file, but they cannot be in an include() function anymore if you want the forwarding to be automatic.
Note to Moderator: Sorry for the wrong forum post, could this be moved to the PHP forum?