Welcome to WebmasterWorld Guest from

Forum Moderators: ocean10000

Message Too Old, No Replies

Redirect all traffic except crawler

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

New User

5+ Year Member

joined:Sept 11, 2010
posts: 1
votes: 0

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.

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


WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month

joined:Jan 14, 2004
votes: 3

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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members