Forum Moderators: coopster
According to GoDaddy tech support, I can't access the .htaccess file, and the only way I can do a 301 redirect is using php code :
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: [mymaindomain.com...]
exit();
?>
I put the above code into an index.php file and placed it in the root directory of my free host server. This seems to work well, but I'm wondering if I should have named the file something else? I mean, index.php seems to work, but I don't know php.
Thanks for any advice.