Home › Forums › Back End › Change to php file type or use mod rewrite › Re: Change to php file type or use mod rewrite
September 26, 2011 at 4:13 pm #87995
You can use the .htaccess file to parse php language on html files, (if your hosting options, hosting plan and server type allow this), or you can switch the extensions to .php, (and use the .htaccess file to 301 redirect those old .html urls to the newer .php urls if this site has been launched and there are incoming links from various places or search engines have indexed the .html links, so you don’t lose seo. You could also use mod_rewrite to hide the .php extensions OR rewrite them back as .html). That’s all I can think of.
I wouldn’t mind seeing your php script btw if you don’t mind :)