I wanted to separate a section of my website using an URL segment that contains a special (but URL-safe) character like hyphen or tilde, so that some pages would like this: example.com/-/about
or example.com/~/about
Is there any problem (technical or otherwise) this (using only a special character - or several - in an URL segment) may cause down the line?
Note: I moved the context to another question - this seems like a separate concern that I'm still curious about, as I've never really seen it done on a website.
example.com/definition/<word>
(or/define/
or/def/
or simply/d/
) rather than directly off the root as you suggest (example.com/<word>
), then have all the site pages off the root instead. I imagine that "some" could grow into "quite a few" pages? But maybe having 1000's of/def/
URLs doesn't fit the bigger picture? I don't think/-/about
is necessarily bad IMO, it just looks a bit weird.