Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Regular expression mod_rewrite (htaccess)
October 4, 2005, 7:47 am
rate this thread
The only problem I have is when http://www.domain.com/admin is given,
the "admin" is used as $1. How can I define the rule for every word
given except "admin" ?
Thanks in advance!
Re: Regular expression mod_rewrite (htaccess)
Use a rewrite condition to exclude this case:
Something like this perhaps:
RewriteCond % !^admin.*$
phil [dot] ronan @ virgin [dot] net