Click to See Complete Forum and Search --> : will it?


iahne
01-25-2011, 09:48 PM
My friend has a website, he wants me to redirect the default page to its home page (www.mysite.com/default.asp to www.mysite.com). Now, I got an idea to do this simply by using asp's redirect method.

My question is, do you think it will have infinite loop?

Any response will greatly appreciated coz I still don't want to ruin my friend's site. Thanks! =)

Ribeyed
01-26-2011, 05:18 AM
Hi,

It depends on the default page set in your webserver for the url www.mysite.com.

If the default page/document is set to www.mysite.com\default.asp then yeah a redirect would indeed just get stuck. There is no such page/document as www.mysite.com only the default page is served. When the www.mysite.com is entered the webserver will look for the default page/document specified in the webserver.

The problem occurs with SEO. The google spider treats each page as a seperate page. www.mysite.com, www.mysite.com\default.asp, to the spider are 2 different pages.

regards


Ribs

iahne
01-31-2011, 10:21 PM
Yeah that was the problem with SEO. I'm actually optimizing his site. It's still not redirecting though. And if I use the redirect method of asp, since the default is the same page being loaded when you type www.mysite.com, I'm quite concern of infinite loop on the site.