I'm having problems setting up my .htaccess
file.
I have the following URL:
www.dominio.com.br/artigo?leitura=priminal-posting
And, I wish it to look like this:
www.dominio.com.br/artigo/leitura/priminal-posting
or
www.dominio.com.br/artigo/priminal-posting
Note: My code uses a slug to generate a permanent link, saved in the database, which is the name of the post.
I'm having problems using regular expressions, or rather the structure of RewriteRule , it just does not work.
How do I solve this problem?