Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

ASP.NET URL Routing with URL Mix-up

$
0
0

I decided to upgrade my website to full-blown URL routing and eliminated .aspx extension completely. Everything worked well and seemed pretty good. I however, have one headache and can't seem to get the antidote. My global error trapping is reporting a funny mix of url that I can't figure out where the hell it is coming from.

http://www.dudomart.com/autofair/nigeria/used-2008-honda-accord-for-sale-lagos-A1305A00067800/AdvancedSearch.aspx

Throughout the site there's no url like the above. Instead there is http://www.dudomart.com/autofair/nigeria/used-2008-honda-accord-for-sale-lagos-A1305A00067800 andhttp://www.dudomart.com/autofair/AdvancedSearch.aspx. Though, the AdvancedSearch.aspx is not called directory but routed ashttp://www.dudomart.com/autofair/search.

In addition to the AdvancedSearch.aspx I also find other pages appended to the end of a valid routed url. I've investigated this behaviour for weeks and can't seem to find anything wrong with my routing design. I browse the website regularly and have never encountered any errors.

No link on the website pointes to the pages with .aspx extension and I just dunno where this error is coming from.

Someone please advise me what might be amiss.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>