2
I would like to hide the . php extension of website of all pages and get bar at the end example: www.meusite.com.br/pagina/
I would also like to hide the pages that are like Landing pages, that are like that: www.meusite.com.br/lp/br/rj/exemplo.php
It would have to stay that way: www.meusite.com.br/exempo/
(Obs: would hide lp/br/rj/
)
Anyone can help ?
It didn’t work, when I click on the "contact" page of the error, should I already put in the <a href="contact/"> header like this?
– user27508
But there is the file in the folder called
/lp/br/rj/contato.php
? Why this was the understanding of your request @user27508– Guilherme Nascimento
@user27508 I think I understand what you need, I edited the answer, please let me know if anything is missing
– Guilherme Nascimento
detail,to work the url rewriting you need to make sure that this enabled mod_rewrite in your apache.
– Gabriel Rodrigues
@Gabrielrodrigues the link I posted in the body of the answer has the orientation activate mod_rewrite :)
– Guilherme Nascimento