: Is there any problem with using two slashes in the middle of a URL? Possible Duplicate: What does the double slash mean in URLs? I'm working on a mod_rewrite URL structure as
Possible Duplicate:
What does the double slash mean in URLs?
I'm working on a mod_rewrite URL structure as follows:
example.com/search/filter1/filter2/filter3/filter4
There are some conditions where it is OK for the first attribute to be blank, but i want to keep the other attributes in the same position. (Otherwise I can't assume that the attribute in the second position represents what I want it to represent.) However this results in some URLs like this:
example.com/search//filter2/filter3/filter4
This seems to work in all browsers I've tested (Chrome,Firefox,IE9,IE compatible) and I'm not seeing any errors on the server side, so I can't think of any problems in using it. But it just looks wrong and weird to me and I'm not used to seeing it. Are there any potential downsides to using a structure that encourages URLs like this, or any major reasons no one seems to use it? (Everything I search in Google assumes I'm talking about the two slashes after http:)
More posts by @Shelley277
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.