Forum Moderators: coopster
I've got 8 filenames, within the same domain, that have changed, and I need to do 301's in my .htaccess from the old files to the new files.
I've managed to come across this code below, but how do I specify the old filename and the new filename please?
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: [domain...]
header("Connection: close");
?>
Any help appreciated.
Sev.
yes, as long as it is a permanent move then that is the appropriate code to use.
more codes here
[w3.org...]