Forum Moderators: phranque
/blog/2005/1/post-name
However in decemeber this could be:
/blog/2005/12/post-name2
I have been using the following for the month part of the URL: ([0-9]+). This works, but another feature of the blog is that a user could enter
/blog/2005/1/
and it would display all the posts from january 2005. However they could also put in
/blog/2005/13/ or
/blog/2005/99/
and it wont throw out an error. So is there a way to put an OR statment in mod rewrite code? For example, how would this translate:
/([1-9]) OR ([1][0-2])/
If you can't use an OR statement, how else could I do it?
Cheers,
R
(1[0-2]¦[1-9])
;)