Forum Moderators: open

Message Too Old, No Replies

Redirect all traffic except crawler

         

avav

4:24 am on Sep 11, 2010 (gmt 0)

10+ Year Member



I have an ASP.NET website with a default.aspx page that ranks fairly high on google. Now - I am in the process of moving (redirecting) to a new landing page (index.php) - one that is under a subfolder /wordpress.

I would like to redirect all traffic to the new landing page. However, I also want my existing default.aspx page to continue to be indexed by google's crawlers - since I do not want to lose the high ranking the site has.

So - essentially - I want to redirect all traffic except the crawlers - the crawler still needs to index the default.aspx and not the index.php.

Any suggestions? Site is currently hosted on IIS7 and ASP.NET 3.5.

Thanks
AV

Ocean10000

6:09 am on Sep 11, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What you are looking at doing I think would be considered cloaking, and most crawlers frown on it.

As for redirecting all but google related bots, you will need to update your browser defintions, and do a little bit of coding for that if you want to do simple User-Agent based redirects. But google and most major search engines also operate stealth crawlers, which use a nonbot User-Agent to check for cloaking. You can ask Cloaking related questions in WebmasterWorld very on Cloaking forum [webmasterworld.com]

My advice is to a Perm Redirect 301 status code, from default.aspx in the root to /subfolder/index.php