View Single Post
Old 09-06-2006, 04:57 PM   #1 (permalink)
sam
The Visitor
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
sam is on a distinguished road
Default 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>
__________________
Machine Networks Ltd
UK web hosts | Discount GeoTrust SSL certificates

Last edited by sam : 09-09-2006 at 09:27 AM.
sam is offline  
Reply With Quote