Forum Moderators: phranque

Message Too Old, No Replies

shtml or htm?

         

royalelephant

3:29 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



My pages' on my site have ssi's and the extensions are .shtml.

Are there any security, SEO, or other reasons why it would be beneficial to change my .shtml's to .htm's?

Mardi_Gras

3:55 pm on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>Are there any security, SEO, or other reasons why it would be beneficial to change my .shtml's to .htm's

None that i can think of. I recently changed because I no longer needed the ssi's and it made no difference in my rankings. No security problems that I have heard of with shtml...

vrtlw

10:52 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



The only reason why you may want to change shtml files to htm is to save on server resources as the files are no longer parsed for includes. Obviously this means that SSI directives would no longer work. There is a .htaccess modification to parse alternate file names as SSI but that would defeat the object.

encyclo

11:15 pm on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In fact, there are significant SEO reasons why you shouldn't change - if you want to ensure your ranking, never change URLs unless you're absolutely forced to. If you change your filenames, you would have to resort to URL rewriting, otherwise most of your referals from the SERPS would get a 404.

Search engines don't care one iota whether you use .htm, .shtml, .php or .foobarbaz, so just pick one and stick with it even if you change technologies! For example, if you decided to go to PHP, you should make your existing URLs be parsed for PHP, rather than renaming the files.

royalelephant

12:28 am on Jan 24, 2004 (gmt 0)

10+ Year Member



thanks: for the time being I'll just keep my shtml's so there's no foul up with my rankings. That's what I was really concerned about.