Forum Moderators: phranque

Message Too Old, No Replies

shtml with html page

can I use shtml suffix with html pages

         

handsun

4:09 pm on Nov 2, 2011 (gmt 0)

10+ Year Member



I have been asked to redo a site that was built with shtml, I have a template for html that I would like to use instead of the sthml setup, my question in order to avoid redirects to over 200 pages of new .html pages instead of .shtml(I am keeping the page names the same), can I just name the pages .shtml. I see that this has already been done on several of the pages in the site and I know it is probably not the ultimate best practice, but is it terrible practice? Thanks,

lucy24

8:35 pm on Nov 2, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Naming an html page shtml is not actively harmful. (The reverse might be.) A little bit of overkill, maybe.

Is everything changing to html, or only some pages? If every single page is going to be html-- or every single page with a few clearly identifiable exceptions-- you certainly won't need 200 redirects! A simple \.shtml-to-.html with capture will do.

Pick any three threads in this Forum at random. Look for boilerplate on mod_rewrite vs. mod_alias (Redirect), and for warnings against non-final (.*).

handsun

8:40 pm on Nov 2, 2011 (gmt 0)

10+ Year Member



lucy24, thank you so much, I have very limited experience with redirects, but that sounds like a great idea, and I will investigate your suggestions, thanks again!