Forum Moderators: open
From your experience, do sites seem to do OK with the .shtml extension in Google? Does Google really care?
Does anyone have a site that uses index.shtml for there main page and do well in Google?
We have a pretty good ranking right now for our sites main keyword, so I hope it won't mess that up!
Try this search:
[google.com...]
But if some of your backlinks points to [redwidget....] com/index.html you might have some trouble.
Can anyone elaborate a little more on how to do this? That would be AWESOME!
or can anyone confirm that:
AddHandler server-parsed .html
adding that to the .htaccess file will make SSI work in HTML? So then I wouldn't have to mess with all the troubles of changing from index.html to index.shtml!
Just had to add:
AddType text/html .html
AddHandler server-parsed .html
to the .htaccess file
and VOILA! Now I'm running SSI stuff on a regular index.html file! WOO HOO! Thanks for the idea marcs!
Now I don't have to worry about Google and other search engines and stuff, were back to index.html and the SSI stuff is working!
God I love this forum! :D
Would have also not been good if some sites linked to mysite.com/index.html and then that stopped working and stuff too...
Don't care about it if all or most of your .html-files have anything to parse in it.
But if it's only a small percentage of files that need to be parsed, then you might want to check out the "XBitHack":
[httpd.apache.org...]
Hi, we recently had to change our main page's extension from .html to .shtml so we could update our news more easily....
I can't imagine why anyone would need to explicitly link to index.html - why not just have links to the directory and let apache pick up the default document? Here's the relevant part of httpd.conf:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
DirectoryIndex index.shtml index.html
Reference www.example.com/ and your server will offer index.shtml if it exists, if not then it will offer index.html.
webdoctor
I've reverted back to using a .shtml file and just doing a permant 301 redirect from the .html file to the .shtml file...
This should be fine for Google and other search engines and now the pages are loading much faster...
Just thought I'd post that, if anyone was trying this themselves... Thanks for help, all. :)