friendly url in two sub directories

0

I'm trying to make the url friendly with .htaccess it consists of:

RewriteEngine On
RewriteRule ^([a-z_-]+)$ index.php?p=$1
RewriteRule ^([0-9]+)$ index.php?g=$1
RewriteRule ^([a-z_-]+)\/([0-9]+)$ index.php?p=$1&c=$2
RewriteRule ^([a-z_-]+)\/([a-z_-]+)$ index.php?p=$1&s=$2
RewriteRule ^([a-z_-]+)\/([a-z_-]+)\/([0-9]+)$ index.php?p=$1&s=$2&c=$3

And I have the following structure:
www.site.com.br/coletor/admin/index.php?p=show

When I run it looks like this:
www.site.com.br/coletor/admin/cadatrar/?p=show
and the screen turns white.

    
asked by anonymous 15.07.2015 / 18:40

0 answers