.htaccess example.com/contact displays example.com/contact.php (rewrite)

Viewed 27

My link looks like this:

<a href='/contact'>Contact Us</a>

The web server needs to display the contents of the page /contact.php WITHOUT redirecting.

Essentially, hiding filenames.

What do I add to .htaccess to achieve this?

0 Answers
Related