pages with .htm extension
Posted: Fri Sep 09, 2011 6:20 pm
I am following the recomendation for adding a .htm extension found here:
http://wiki.cmsmadesimple.org/index.php ... And_Tricks
specifically the use of:
RewriteRule ^(.+).htm$ index.php?page=$1 [QSA]
I find that it does allow pages to be accessed with a .htm extension, however it also breaks all navigation on the site because the links on the site cannot have a .htm extension. Any attempt to name pages that way in the cms gets changed to -htm.
Has anyone come up with a way to have a site where all of the pages end in .htm? or better yet is there a way to add it to specific pages only?
http://wiki.cmsmadesimple.org/index.php ... And_Tricks
specifically the use of:
RewriteRule ^(.+).htm$ index.php?page=$1 [QSA]
I find that it does allow pages to be accessed with a .htm extension, however it also breaks all navigation on the site because the links on the site cannot have a .htm extension. Any attempt to name pages that way in the cms gets changed to -htm.
Has anyone come up with a way to have a site where all of the pages end in .htm? or better yet is there a way to add it to specific pages only?