I have the following htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^imprensa/?$ imprensa.php [NC,L]
RewriteRule ^imprensa/([a-z0-9\-]+)/?$ ler-impresso.php?p=$1 [NC]
</IfModule>
What you would have to do is that when you access /imprensa
it would have to load the file imprensa.php
now if you access it /imprensa/postagem-teste
It would have to load the file ler-impresso.php
passing the text postagem-teste
into the variable p
Does anyone know where I'm going wrong?