htaccess file question

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 25, 2008   (RSS)

What would I place in my .htaccess file to send visitors to foo.php when they try to access foo.html?
Have a nice day....

--

JamesKB

Re: [Dave] htaccess file question

Just a word to the wise for others who might follow this post as I recently did... and painted myself into a corner.

Adding the following to your .htaccess file causes problems with the WYSIWYG editor:
RedirectMatch (.*)\.htm$ $1.php

However, the following is okay:
RedirectMatch (.*)\.html$ $1.php

I tried to get cute and put both into the .htaccess file. The three-letter extension would have to have some sort of exception when applied to the '/cmsAdmin/tinymce3/' dir.

Jayme

Re: [InHouse] htaccess file question

By Dave - February 25, 2008

InHouse, Thanks for the tip!
Dave Edis - Senior Developer
interactivetools.com