Googles webmaster tools has several hundred "not found" errors on my site, (my site is IIS7 and uses a lot of URL Re-writes)
The 404 errors are the result of Google spidering pages on my site that are in the form of:
The trailing dash "/" after the .aspx is what is screwing up all the relative hyperlinks on the page. There should be no trailing dash.
www.mysite.com/mypage.aspx = CORRECT
www.mysite.com/mypage.aspx/ = How in the world did Google "find" this incorrect page?
I do not know how Google reached any page on my site with a trailing dash. What kind of code behind (I use VB.NET) can I use to purify my page's URL to remove a trailing dash? I'm thinking there has to be some kind of code I can use to scan the incoming URL, strip a trailing dash, and tell Google what the true URL is?
Even better...(this would be extra credit, virtual of course :) )....is there any way to find out how Google is reaching these pages? I"d love to know what page(s) linked to pages with trailing dashes. But the problem is that if Google finds even a single page with a trailing dash, suddenly, all relative hyperlinks are messed up, and Google starts a cascading, exponential spidering process of messed up pages.