i.e. below is my current code for shtml SSI
<!--#include file="header.htm" -->
Many thanks.
Must change the name Piker, think I rushed that when I joined!
Simon
<!--#include virtual="/navigation.txt" -->
<!--#include virtual="/footer.txt" -->
This uses two separate files at the bottom of the page, one for navigation and one for the copyright info, etc., underneath. I'll be adding one for the right navigation column also.
I tried a few different ways, and this is how it ended up working.
Piker, I haven't had to. I use hosting that has a control panel, because I like the convenience of being able to make minor changes to pricing, text, page titles/keyword phrasing, etc., among other conveniences, easily and quickly without having to modify pages and go the FTP route to upload revised pages.
All I have to do is go into the control panel and create a new file, right online - including robots.txt and .htaccess
Otherwise yes, you'll have to upload the .htaccess file.
Two things to keep in mind: the functionality for SSI on .html pages depends on the host, and if you've already got pages with good search engine rankings on a site for .shtml pages you might need to think twice before making the change.
I'm asking because all our pages are!
htaccess file is just a file you place in your directory - possibly in the root directory.
The filename is ".htaccess".
To enable ssi on html files, just create a .htaccess file in your root and include the lines as Marcia suggested:
AddType text/html .html
AddHandler server-parsed .html
or
AddType text/html .htm
AddHandler server-parsed .htm
AddType text/html .html
AddHandler server-parsed .html
For anyone else who needs to know how. Create a file called access.txt, type the above contect, ftp using ASCII, rename the file .htacces - That's it. Dead easy when you know how.
Thanks also to Marcia & marc_roach
usefull site for info is
[execpc.com...]
Piker
From what I can tell, the file has be an ASP file to do a SSI. I am very new to SSI on a Windows box, and I would think there must be a way around using .ASP extension.
-G
<added> I started a new discussion on SSI specifically for IIS servers. [webmasterworld.com]</added>