Forum Moderators: Robert Charlton & goodroi
http://example.com /page1.html
http://example.com /page1.shtml
Or does this cause the server to do a 301 redirect from html > shtml?
The .shtml suffix is just a clue to the server to parse the file for code before sending. By using a handler, you can tell the server to parse .html files in the same manner that it parses .shtml.
This causes no re-direct and is invisible to the public.
There is a reason shtml has it's own extention. If it was SSI standard for all pages, the server would attempt to parse and process ALL your pages looking for includes.
So if you have a very popular site, and you server tons of pages, making apache parse html exactly link shtml you will see a preformance hit on the server. Just an fyi...
Again, if your running apache, you can add the line:
XBitHack on
to any .htaccess file. By then changing the permission of any .html to 744, instead of 644 causes the .html file to be parsed.
This could be done incrementally to test the impact on your server.
Apache site has more info [httpd.apache.org] on this.
One method issues a 301 or 302 code back to the original request. The other is silent and invisible in operation.
You can redirect A to B while having a rewrite from B to A. So, in this case, B is indexed, and the "real" name on the server is A, but A can never be indexed.
They'll get confused with all of the options and the ones that are out on the table aren't all of them ;-).
They could always have a master build system setup one way, then walk the site with all of the ssi in it building an exposed site without ssi under the current names. Yes a bit involved and no longer truely dynamic but not out of the question, it all depends.
Plenty of ways to do things, frequently more than one might originally think exist.