Thread: .htm extension
View Single Post
  #4 (permalink)  
Old 07-19-2007, 11:19 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,650
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: .htm extension

Note that making this change may not be desirable if most of your pages are pure html. If you add an entry to the htaccess as suggested, all html files will be parsed for php, which could put an unnecessary load on your server. Also, if you use a doctype tag, your normal pages could break. (The <? that opens the doctype definition is a php shortcut tag.) Some shared hosts also do not allow extensions to be changed in this way. If this is the only php page and you don't want the php extension, I would suggest using mod rewrite if that is an option on your server.
__________________
The best way to learn anything, is to question everything.
Reply With Quote