September 4, 2004 at 12:22 pm
#654421
Inactive
From a little bit of research.
For those without access to the .htaccess file
ASP Users:
[PHP]<%
Response.Status = “301 Moved Permanently”
Response.addheader “Location”, “http://www.newdomain.com”
Response.End
%>[/PHP]
PHP Users:
[PHP]
header(“HTTP/1.1 301 Moved Permanently”;
header(“Location: http://www.newdomain.com“;
exit();
?>[/PHP]Put this at the top of all your pages, and replace the newdomain with your own site.
For those with access to their .htaccess file:
[PHP]redirect permanent http://domain.com http://www.domain.com[/PHP%5DHere we’re redirecting from domain.com to http://www.domain.com
I won’t guarantee these methods work because this is reasonably new to me as well.