How would I make the file extension not seen by the user?
Example
As soon as the user finishes the registration, it will be directed to the confirmacao.php
page, but would like the .php
extension not to be 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 this possible? Or would I have to create a directory for each page?