Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Broken Links - causing PR drop?

         

Raywashindkar

11:57 am on Apr 9, 2007 (gmt 0)

10+ Year Member



We have launched a new version of website couple of months back. Our old website had aprox. 15,000 pages and now we have 25000+ pages. The new site is a complete revamp including URLs.

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

tinch2112

7:51 pm on Apr 9, 2007 (gmt 0)

10+ Year Member



not sure if this is the BEST response, but what the heck...

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...]