PDA

View Full Version : Removing default page from URL


ewright
05-08-2008, 07:28 AM
When I access my site using the domain name, the default page is added to the URL. I cannot figure out how to stop that from happening.

I am using the URLRewritingNet dll to rewrite all other URLs on the site. As far as I can determine, there is nothing I have configured to cause the default page to be added.

Any suggestions?

ewright
05-08-2008, 08:11 AM
The problem turned out to be with the settings I had for the URLRewritingNet configuration. There is a DefaultPage setting that was the culprit. I had tried changing that setting and did not think it was involved, but the line was removed completely, the rewrite to the default page stopped.
<urlrewritingnet
rewriteOnlyVirtualUrls='true'
contextItemsPrefix='QueryString'
***********defaultPage = 'default.aspx' ***********
xmlns='http://www.urlrewriting.net/schemas/config/2006/07' >

raymondp
05-08-2008, 09:42 AM
Can you give us the URL so we can also see it on our end?

rcp
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)