Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 26, 2010 10:14 AM by jatin0405047
Apr 20, 2006 06:04 AM|LINK
Hi, does anyone know, how can i set the application, or modify the source code, for suprime one of the slash bar "//", that appear in the url?
I have tryed to suprime the link in the site.master, for the optios menu, but i get 404 in debug time, but it work fine in run time (on the hosting).
Are there anyway to set propperly the slash, for that ir works fine in debug time and run time.
Apr 30, 2006 07:42 PM|LINK
Jan 09, 2010 05:48 AM|LINK
no way... asp.net do not report you a double slash in the path... so www.xx.com//test.aspx is considered by asp.net as
This causes duplicate content in search engines (google on top) who causes loss of popularity and page popularity dispersion...
The only "fix" I found is to "tell" search engines which is the "good" address of the page, using the "canonical" directive. Here you fine how:
Hope this will be helpful...
Feb 26, 2010 10:14 AM|LINK