Google Ranking effected by Response.Redirect

It seems that search engines, like Google, frown on the 302 Redirect due to hijacking and that is the method that is the ASP.NET response.redirect uses.

That would also explain why our sites main page has yet to be issued a PR rating by google. We were doing a response.redirect from the default page to a page in our document library. In fact I have a posting earlier in the blog explaining how to do it - sorry.

The correct way to do a redirect for a permanent type of page like a root default page going to page library is:

  Response.Status = "301 Moved Permanently";
  Response.AddHeader("Location","http://sharepointsearch.com/pages/default.aspx");
  Response.End();

Now lets see how long it takes to get our pr rating.

 

UPDATE: 10/18

Our PR remains at 0/10. So trying something new.

 void Page_Init()
    {
        Server.Transfer("/pages/default.aspx");
 }

This will allow the http://sharepointsearch.com   to display the contents at /pages/default.aspx without doing any form of redirect. This kind of transfer will really only work well with a page that doesn't do any post backs and mostly links out, which our main page.

Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Published Wednesday, September 19, 2007 6:22 PM by notorioustech

Comments

No Comments