|
Posted by Jim Higson on 04/02/06 01:19
nllamas wrote:
> Hi folks,
>
> Checking my error logs, today, I find that some people are occasionally
> requesting pages with an .htm extension rather than .html
> Not sure why this is - all my pages have always ended in .html.
>
> Anyway, is there something I can put in my .htaccess file to direct
> requests for .htm pages to the correct .html file.
> I know I can use a redirect for each individual page (such as:
> RedirectPermanent /somepage.htm http://www.example.com/somepage.html )
> but I was hoping for something simpler, so I don't have to list every page
> individually.
Try http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Navigation:
[Reply to this message]
|