6
How would I make the file extension not be viewed by the user?
Example
Once the user finishes the registration, it will be directed to the page confirmacao.php, but I would like the extension .php were not visible, only confirmacao/. I understand that this is Url friendly and can be done by .htaccess, but how can I apply on all pages?
contato.php=>contato/cadastro.php=>cadastro/- etc..
Is that possible? Or would I have to create a directory for each page?
Let me explain what it does?
– Guilherme Lautert
Perfect Pedro Morais. It worked correctly. Thank you!
– user24136
Of course, if you want to supplement the answer feel free =)
– Pedro Morais
If the explanation is not clear, warn me to improve
– Guilherme Lautert
Very good explanation William. Thank you.
– user24136