Options +FollowSymlinks
RewriteEngine on
RewriteRule ^admin/(.*) index.php?a=$1 [nc]
RewriteRule ^(.*) index.php?p=$1 [nc]
//so it works with
domain.com/admin/edit
domain.com/index
Whats the correct way to do this basically if the admin/ is found I don’t want it to run the url rewrite done for the second rule. is there a way to write
RewriteRule ^([ ]+) index.php?p=$1 [nc]
I don’t know what I would put in the [] to say not include the “/” but all other characters work.
Thanks. Very stuck on this.