Personally, If I needed to use an operator other than a hyphen '-' I would use an underscore because it seems cleaner and is often used for variables when writing code.
In your comments you said you're needing the extra operator to perform a search using the words in the URL. If this is the case I would probably use the plus '+' symbol. Many websites replace spaces with the plus symbol and so if you're aiming to parse the URL into separate words this may be easier.
The only other option I would suggest is using URL parameters like url.com?var1=term1&var2=term2
and using a .htaccess file to convert it to a clean, readable URL like url.com/term1/term2/
.
The link below is a great article about using .htaccess files. The first point explains what I mentioned above.
https://moz.com/blog/htaccess-file-snippets-for-seos
/salty-spicy-recipes
? I don't see any need for multiple separators here. – Stephen Ostermiller♦ Oct 2 '19 at 0:59/term1_term2-term3_term4
I'm aiming to searchterm1
andterm2
in category 1, andterm3
andterm4
in category 2. I can use URL parameters, but I need a clean url, I'm also aware of duplicate content. – Raftel Oct 2 '19 at 1:34/
) or a period (.
) as a separator there. – Stephen Ostermiller♦ Oct 2 '19 at 11:00