Possible Duplicate:
What does the double slash mean in URLs?

I'm working on a mod_rewrite URL structure as follows:


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:


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:)

  • 2
    Even though your question is different, that question and answer cover your question so I just closed it as a dupe instead of just linking to it as an answer.
    – John Conde
    Commented Apr 9, 2012 at 15:54
  • Assuming that it "is wrong", I would have said you need to check for two distinct formats of the URL... one with 4 filters and one with 3.
    – MrWhite
    Commented Apr 9, 2012 at 16:11


Browse other questions tagged or ask your own question.