Home › Forums › Back End › PHP/TPL Link Opens up As File Not Page › Reply To: PHP/TPL Link Opens up As File Not Page
September 11, 2013 at 10:54 am
#149734
__
Participant
Write “contact.php” in your URLs
<a href="/contact.php">Contact Me</a>
then use .htaccess to rewrite the requests to point at the correct location:
RewriteEngine On
RewriteRule ^contact.php$ /template/contact/contact.php