English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have an old web site that contains files with .html and .htm file extensions. I have now changed all file extensions to .php.

What is the rule I should write in the .htaccess file in order to make permanent redirect 301 of all .html and .htm file requests to their .php equavalants?

I am on Linux/Apache and mod_rewrite is enabled.

2007-03-24 22:37:46 · 1 answers · asked by shafaki 2 in Computers & Internet Programming & Design

1 answers

Have a look at this site, it should tell you everything you want to know:
http://www.isitebuild.com/301-redirect.htm
Regards, Zyfert
http://xsitepro.cybersprout.com

2007-03-24 23:08:58 · answer #1 · answered by Zyfert 7 · 1 0

fedest.com, questions and answers