Exception

New to mod_rewrite? This is a good place to start.

Exception

Postby doiy » Wed Nov 02, 2005 1:58 pm

I have two rules.
Code: Select all
RewriteRule ^(.+)/([^/]+)(/[0-9]+)?/?$ /wp/index.php?category_name=$1&name=$2&page=$3 [QSA,L]

and
Code: Select all
RewriteRule tag/([A-Za-z0-9+_-]+)/? /wp/index.php?plugin=technoratitags&tag=$1 [QSA,L]

but when I type domain.com/wp/tag/test it returns
domain.com/wp/index.php?category_name=tag&name=test&page=
How can I do exception for 'tag' word to 1st rule.
doiy
 
Posts: 1
Joined: Wed Nov 02, 2005 1:51 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 35 guests

cron