09-06-2006, 04:57 PM
|
#1 (permalink)
|
|
The Visitor
Join Date: Oct 2005
Posts: 4
Thanks: 0
|
Make html pages work like php
Lets say you have a html page on your web site that you really need to add dynamic elements to (i.e. product listing from a database etc).
You could create a new replacement php page but then you would have to update all your internal/external links and possibly loose your search engine rankings for your page.
Adding a following entry to your .htaccess file (if your web host allows this) will force your server to treat that html page as an ordinary php file: :D
<Files pagetitle.html>
ForceType application/x-httpd-php
</Files>
Last edited by sam : 09-09-2006 at 09:27 AM.
|
|
|
|