mrtblt
01-10-2009, 09:38 AM
How i can change my contact.php to contact.html ?
Is it possible to do that by make some changes on .htaccess?
Is it possible to do that by make some changes on .htaccess?
|
Click to See Complete Forum and Search --> : Changing php extension to html mrtblt 01-10-2009, 09:38 AM How i can change my contact.php to contact.html ? Is it possible to do that by make some changes on .htaccess? Declan1991 01-10-2009, 11:31 AM AddType application/x-httpd-php .htm .htmlIn the .htaccess file should do it. Then any .html or .htm file will be parsed and any PHP will run. Fang 01-10-2009, 12:38 PM W3C recommends not to show the extension. This would mean it is unnecessary to make the change you require. http://www.w3.org/Provider/Style/URI Remove ext<FilesMatch .*> Options +MultiViews </FilesMatch> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |