Quote:
Originally Posted by Due
Is this still used ? I had completely forgotten it existed.
I just found it in cpanel, seeing the tag instantly made me feel like I was 15 years younger than I am 
|
The only reason the shtml exist is so that a server can be set up to only scan for server side includes on shtml pages. This saves resources from scanning every html page for SSI.
It's still being used but this is the difference :
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
The htaccess code above it how you set up normal shtml
People just do it this way now more often :
AddHandler server-parsed .html
Options Indexes FollowSymLinks Includes
The above code does the same thing but now you don't use any .shtml files.
Nothing has changed.
An SSI(shtml) include is just the same as any php include, except php is slower than any other code used for an include.
So using shtml may be out of style with the chic URL crew but it saves resources and google likes it just fine.