Ver originalRewriteCond %{REQUEST_URI} !^/conpeht/$ [NC]RewriteRule ^([^/.\?]+)/?([^/.\?]*)/?$ sec/sec.php?sec=$1&dir=$2 [PT,NC,L]