Another mod_rewrite question
-
Hi All
I have a question about mod_rewrite. One of the autogenerated rules I have is
RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
Now my question is would this rule work only for
/archives/2004/05/15/postslug/
or will also work for
/archives/2004/05/15/ for all posts on May 15
/archives/2004/05/ for all posts in May 2004
and so on. I am asking this because on my blog at https://pnarula.com/blog last one is used for Montly Archives and it is not working. While it works for individual posts.
Help is very much appreciated.
Cheers
Pankaj
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Another mod_rewrite question’ is closed to new replies.