You are here: .htaccess - htm / html question « HTML « IT news, forums, messages
.htaccess - htm / html question

Posted by nllamas on 04/02/06 00:49

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.

Thanks!
nllamas

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация