Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: phranque
Our website is moving from html to php.
We have good search engine rankings on our keywords and do not want to lose these, the filenames are more or less staying the same except for the PHP.
How can we do this smoothly please, is it through .htaccess?
Will we have major problems with Google?
If you read it, you probably noticed how easy it is to parse HTML pages as PHP, just like jbinbpt mentioned.
Try adding this to your .htaccess file in your root directory:
AddType application/x-httpd-php .htm .html
Here are some of the many advantages of doing:
1. No one will know you use PHP. Hackers can ways guess, for sure. But this is always an extra security factor that helps you.
2. You don't have to worry about losing Google Page rank. Your URLs will remain with the same extension.
3. No need to change the extension of every single file, of course.
Good luck and have fun in the world of PHP.