How To Handle Redirecting default.asp in IIS? Duplicate Content

Oct 28, 2008 • 8:16 am | comments (2) by twitter Google+ | Filed Under Database Driven & Dynamic Site SEO & Tips
 

A Google Groups thread has discussion from SEOs and a Googler on the topic of removing the default.asp from your web site, through a redirect method on an IIS server.

What is the typical issue with IIS servers and redirecting? As the thread creator said:

I just realized that I have a different page rank for www.mywebsite.com and for www.mywebsite.com/default.asp. I would like to combine them into only one: www.mywebsite.com

From my default.asp page (wich is my default page off course...), do you know a way to make a 301 redirect to the root / without doing an endless loop?

John Honeck has tips at his blog post named 301 Redirects in ASP on an IIS Server. Does this answer all the questions? The forum discussion makes it sound like it does not.

Googler, JohnMu, called this the "big issue with IIS". John suspects the "newest version of IIS can handle things a bit better," but he said that most hosting companies are not running that version of IIS yet. So what options do you have?

John explains that using sessions to manage this won't work for search engines, because spiders don't handle sessions well. Thus if a spider find it, they will just run into an infinite loop on your site and that can be bad for many reasons.

John recommends the following:

The best solution is to make sure that there is absolutely no mention of "/default.asp(x)" on your site, instead only mentions of "/". You can confirm this by using a crawler such as Xenu's Link Sleuth. However, take care that you do not use forms anywhere, because they will generally return their results back to the file ("/ default.asp(x)").

For more details on this issue and troubleshooting it for your site, I highly recommend you read the whole thread.

Forum discussion at Google Groups.

Previous story: Google AdSense Testing Coupon Ads?
 

Comments:

Rob Abdul

10/29/2008 10:24 am

I agree with John do not mention the default.asp. Not it the sitemap or in any of the pages on you site. Trust me it works, my site is hosted on IIS also.

Jaan Kanellis

10/30/2008 04:41 am

Right Rob, stop linking to /default.asp and www.yourdomain.com/default.asp is the best way to solve this.

blog comments powered by Disqus