That will give you problems because the /? in the regex will be interpreted as one of two subdirectory levels which will ruin your relative links (css, js, gif, jpg, etc). Then, what year has a letter in it? Why not (/d{4}) for the atom? That will match a four digit year value. If you’re looking at 2000 - 2050, (20[0-5][0-9]). Specificity counts! Then, what the heck are you thinking about asking for No Case in a URI? That will not work for {REQUEST_URI}s because they ARE case specific! IMHO, don’t use the NC flag except on {HTTP_HOST} unless you have a very good reason.
Thanks DK that works (as usual)
“(20[0-5][0-9])” is cool but I have strings like 1990-to-2001 so I’m keeping “([A-Za-z0-9-]+)”.
Honestly I have no idea what NC means lol … tnx for the info