Quote:
Originally Posted by Zippey
If I convert my HTML to files with php file extensions I will loose all my incomming links. Correct?
|
Yes if you don't do a permanent 301 redirect for each and every page you convert.
Quote:
Originally Posted by Zippey
Why do I need a php file extentions for HTML files with embedded php?
|
You don't. You can add the following to your .htaccess file and render php coding in HTML pages.
Code:
AddType x-mapp-php5 .html .htm
Assuming your web server uses PHP5. If it's using PHP4, then changing the 5 to a 4 should work.
Note: You won't see the PHP rendered coding when viewing the web page offline. e.g. if you use this for PHP includes, you won't see the included content until you upload the includes and page to the web server then view the live page.
Quote:
Originally Posted by Zippey
Why does a HTML file need a php extension just because it has php in it?
|
It doesn't. Showed you above how to do it.