|
|
|
Webmasters // SSI Help
|
What is SSI?
SSI is an abbreviation for Server Side Includes, and it can be very handy. Many sites use this to update their pages. SSI enables you to put one page into many pages using the same html code, thus making it easier to update. Just think about it as frames, except much better and faster loading!
How do I do it?
Here's a step by step how-to-do SSI guide. Keep in mind that there are many different types of SSI, and you can use whichever one that you wish to use.
1. First off, create your index.html file, the main page. In some cases, you'll have to rename the file to index.shtml and all files with SSI in it in order for SSI to work. However, I find many free services such as Tripod, Angelfire, and Geocities allow original html files.
2. Take whatever html that you want to be repeated on various pages and make a new file out of it. You may name it whatever you wish, I prefer .txt files or .htm files. .html files are fine as well. In fact, as said before, anything is fine!
3. Wherever you want that html on any page, you just enter any of these codes below, choose what you want!
<.!--#include file="yourfile.whatever"-->
<.!--#include virtual="yourfile.whatever"-->
4. Take out the beginning periods (Geocities won't let me show the html no matter what I do!) and rename the files to match your files.
5. Repeat steps 1-4 to do more SSI if you wish! Be warned that not every service supports SSI, so be a little cautious when using it!
That's all there is to it! SSI is a great tool that most webmasters and mistresses use, and it's very, very convenient. It's also very fun! I hope you all have fun using SSI like I have.
|
|
|