Hi guys,
I am trying to make a rule that first matches one page in the path and then uses the rest of the path after that as parameters of variable length/quantity for the requested page.
My rule is
RewriteRule ^([^/\.]+)/?([.]?)/?$ index.php?page=$1¶ms=$2
i want this rule to work on paths such as:
site.com/articles
site.com/articles/well-drilling
site.com/articles/2009/08/12/know-your-milkman
so everything after "articles" would be captured by $2 and then i would parse the params variable on the page it is directed to.
thanks for any help