What does the double slash mean ? (I'm not referring to the beginning right after http:).
For example:
http://www.imywebsite.gov/sectionA/sectionB//section/page/
|
What does the double slash mean ? (I'm not referring to the beginning right after For example:
|
||||
|
|
|
That is an error in the programmers'/developers' code. For instance if you navigate to: http://www.imywebsite.gov/sectionA/sectionB/section/page/ And then add a slash: http://www.imywebsite.gov/sectionA/sectionB//section/page/ The exact same page will load in most modern browsers. This is something you want to fix. If you have the double slash it could confuse Google's web crawlers and make them think there is 2 versions of the page. |
|||
|
As mentioned by @RandomBen, the double slash is most likely the result of an error somewhere. That the page loads has nothing to do with the browser, but rather that the server ignores the extra slash. The browser doesn't do anything special with extra slashes in the URL, it just sends them along in the request:
It looks like current versions of Apache and IIS both will ignore the extra slashes while resolving the path and return the document that would have been returned had the URL not had extra slashes. However, browsers (I tested IE 8 and Chrome 9) get confused by any relative URLs (containing parent path components) of resources in the page, which produces bad results. For example, if a page has:
Upon loading the page (This obviously won't happen if the URL doesn't have a parent path component ( It is my opinion that Apache and IIS (and probably others) are acting incorrectly as
So, If you're using Apache with
This will issue a HTTP |
|||||||||||||||||
|