Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting site from .html to .php

Tags:

html

redirect

php

my site has now become sufficiently large for me to think it's necessary to convert the pages to php pages to help me update it in the future. The problem is: my site has a number of links to it on various websites across the web. Eg these links point to www.example.com/page1.html but the page is now going to be renamed www.example.com/page1.php

How would people get around this problem? Simply redirect the html page to the php page? Are there any alternatives? Does this have any implications for SEO?

Thanks

like image 937
Lars Avatar asked Nov 10 '11 18:11

Lars


1 Answers

URL Rewrite: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

More directly to the point: http://roshanbh.com.np/2008/02/hide-php-url-rewriting-htaccess.html

like image 130
Aerik Avatar answered Oct 05 '22 09:10

Aerik