Man2u2uk
Feb 6th 2008, 4:03 am
Hi
I am currently in the middle of converting my large HTML website www.ukfishersonline.com into PHP.
I have decided to do the conversion due to the fact that the website is becoming very large and it’s taking me forever to make changes.
My problem is that my website is very well established on many search engines and it also has quite a bit of page rank throughout the website and I do not want to lose my page rank and/or affect my position in any of the search engines.
This is the main reason why I have not let the PHP version go live yet.
At the moment by looking on Google, I have come across many answers to my problem,
Some people say change all filenames from "HTML" to "PHP" and then add the following into an .htaccess file
· RedirectMatch permanent ^(.*)\.htm(l?)$ $1.php
Or
· RedirectMatch permanent ^(.*)\.htm(l?)$ $1.php [r=301,nc]
Yet others say leave all filenames as “HTML” and add the following to an .htaccess file
· AddType application/x-httpd-php .htm .html
I would be grateful if someone could give me a 100% answer on how I can convert my website into PHP yet without losing any page rank and/or affecting my search engine position
Thanks
I am currently in the middle of converting my large HTML website www.ukfishersonline.com into PHP.
I have decided to do the conversion due to the fact that the website is becoming very large and it’s taking me forever to make changes.
My problem is that my website is very well established on many search engines and it also has quite a bit of page rank throughout the website and I do not want to lose my page rank and/or affect my position in any of the search engines.
This is the main reason why I have not let the PHP version go live yet.
At the moment by looking on Google, I have come across many answers to my problem,
Some people say change all filenames from "HTML" to "PHP" and then add the following into an .htaccess file
· RedirectMatch permanent ^(.*)\.htm(l?)$ $1.php
Or
· RedirectMatch permanent ^(.*)\.htm(l?)$ $1.php [r=301,nc]
Yet others say leave all filenames as “HTML” and add the following to an .htaccess file
· AddType application/x-httpd-php .htm .html
I would be grateful if someone could give me a 100% answer on how I can convert my website into PHP yet without losing any page rank and/or affecting my search engine position
Thanks