Freewebs SSI Guide
What's SSI?
What's SSI, you say? It stands for Server Side Includes, and they're basically editing shortcuts. It's mostly used for nav bar editing, because they change so often. It's most commonly used with HTML, but can be used with PHP. This is an HTML SSI guide for Freewebs. SSI can be used with other files, but it requires .shtml, .aspx or .php.
How do you use SSI?
-
First go to Notepad and make two files (you can name them whatever you want; the most widely used names are "top.txt" and "bottom.txt"). DO NOT MAKE IT "TOP.HTM(L) or BOTTOM.HTM(L)! REMEMBER, THIS IS HTML CODE!
-
Go to one of your pages (any one will do) in your File Manager. Right-Click and chose "Select All". Cut and paste the code into both of your files.
-
For "top.txt", highlight and delete the code after the stuff that is the same on every page before the actual text. You should have the CSS, <head> and </head> tags, the <body> tag, and the left nav bar code.
-
For "bottom.txt", you should have the right nav bar code, the footers, disclaimer, etc.
-
Now save both of them. Close.
-
Now return to your FileManager. Click "Edit". Erase all the code BEFORE and AFTER the content, (on all your pages) and replace it with these two codes:
8. Do this for all your pages and voila! All you have to do is edit "top.txt" or "bottom.txt", and your whole website is edited! Good Luck!
|