Log in

View Full Version : 301 redirect question



Chadi
07-03-2009, 03:39 AM
For SEO reasons, I'd like to change the entire site from .php file extension to .html

I know the proper way for rankings purpose is to use a 301 redirect in htaccess file. However, I'm not 100% sure how to do this without affecting certain folders (such as blog, forum, billing software). They must be untouched and continue using their own .php files.

Can someone explain how I can work around this and provide a sample 301 line to achieve this?

Thanks

sugitha
07-13-2009, 12:02 PM
If any one give a answers this question that will helpful for me too.

thetestingsite
07-13-2009, 05:34 PM
Here's a website that may just give you your answer (scroll down a little bit and you'll see it):

http://roshanbh.com.np/2008/02/hide-php-url-rewriting-htaccess.html

Hope this helps.