I would like to rewrite
with endless virtual subdirectories (keywords) to
But it seems my rule is only working for
http://www.example.com/S123 (without “subdirectories”).
What is wrong on this rule?
^S(?:.+/)?(d+)/?$
I would like to rewrite
with endless virtual subdirectories (keywords) to
But it seems my rule is only working for
http://www.example.com/S123 (without “subdirectories”).
What is wrong on this rule?
^S(?:.+/)?(d+)/?$
You must be logged in to post a comment.
^S… means that your url segment STARTS with S which is true for /S123 and not for a/b/a/S123.
use this regex instead :