Forum Moderators: open
I was told to use SSI and after reading a coupl eof tutorials, I got the test pages to work, now, before I take the plunge and do make the change I'd like to know if this can be harmful in Google. I don't see many .shtml in SERPS, although maybe it's just that it's not as common.
Anyone have a high ranking shtml site in goole?
Javi
10,000 pages of hand-generated code? eep.
If I were you though, I'd use PHP...you can do the same include stuff, and a whole lot more down the road if you want to
WibbleWobble, could you expand a bit on how to do this? We have an shtml site but I'd rather use just .html or .htm. Afraid I'm not skilled in PHP...yet.
Thanks for any help!
====================================================
<!--#include file="included_page.htm" -->
====================================================
If you put "included_page.htm" on a diretory other than the one where you have the file with this line, and if the "included_page.htm" has links beware of relative paths.
For example: Your site has the following strucure:
=====================================================
/somedir/index.htm
/somedir/includes/included_page.htm
/somedir/something/mypage.htm
=====================================================
If you have included the "included_page.htm" on "index.htm" and you have a link on "included_page.htm"
to "mypage.htm" you have to setup the link as:
======================================================
<a href=something/mypage.htm>
======================================================
and not
======================================================
<a href=../something/mypage.htm>
======================================================
because the path is relative to the file that includes ("index.htm") and not to the included.
This is a simple sample. Check the web for other commands (if-then-else, for example).
Hope this helps you
What a wonderful reply! Thank you so much!
wackmaster