Forum Moderators: Robert Charlton & goodroi
We are still getting traffic with the old site URLs. We have recently seen a drop in the PR and I have a feeling that the change in URLs could be one of the reasons. Is there a work around for fixing the old site URLs? Currently the old site URL would take the visitor to a user friendly 404 page on the site.
Thanks
you really should use a 301 Redirect so that all of your OLD Search Rankings and stats will remain intact (for the most part).
i grabbed this info from some site:
Redirect in PHP
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?> Redirect in ASP
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.new-url.com"
> Redirect in ASP .NET
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script> Redirect with htaccess
Create a .htaccess file (if does not exists) in your root directory.
Redirect permanent / [new-url.com...]