Hello,
I am looking to change a PHP website back to basic HTML pages. How can i get around search engines not picking up the old PHP site / URL’s when searched?
Thank you.
Hello,
I am looking to change a PHP website back to basic HTML pages. How can i get around search engines not picking up the old PHP site / URL’s when searched?
Thank you.
You can use a 301 redirect in an .htaccess file with a line like:
redirect 301 /somepage.php /somepage.html
Have you made the content in the PHP files static, and this is the reason for reverting to .html?
The reason i’m reverting back to .html is for simplicity. The website is purely an online presence. I don’t know PHP either so reverting back to .html is going to be the most cost effective approach.
I’m going to throw this out there and you may not know the answer but are there many people like myself that employ the skills of say PHP developers for small projects like the one i’m doing here?
I assume you’re wanting a situation where you can simply upload HTML files. It’s certain you don’t want to learn PHP in the future?
There will be plenty of PHP developers willing to take on a small project on a freelance basis.
Yes ideally i’d love to learn PHP. It’s a little overwhelming to be honest, and i don’t even know where to start!
Hi,
you can use mod_rewrite to setup a redirect for multiple pages on our website. I am providing code please put in the .htaccess.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [R=permanent,L]
Great! Thanks icecubemedia. So it’s as simple as adding your code to .htaccess?