![]() |
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> |
Great tip.. I'm sure folks have wondered about something exactly like this
|
That is a great tip, I have no idea that could be done. Many thanks :D
|
| All times are GMT. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0