Forum Moderators: phranque
I'm wanting to convert php based to html, is there a simple way to do this. Searched around, but it seems converting html to php seems fairly straight-forward but not the other way.
If not practical would using redirects on existing html pages to php model cause probs with se.
I really need to keep html in place because converting all links would be a major headache, and I do not want to lose existing serps unless of course I could convert new php site to html so as to keep url extensions and then inbound link stucture would remain the same.
Any advice appreciated
If you are running on a virtual or dedicated server, you can probably change the Apache configuration to treat .html files as .php files.
But the best way would be to use 301 redirects to send requests for the .html pages to their .php counterparts. This can cause a drop in referrals while the search engines are catching on, but if you leave the redirects in place forever, all should be well in the long run.