Use Server Side Includes To Ease Your Workload
Iím all for making things as easy as ... The whole idea in ... and life, is to work smarter not harder. When ... ... I not only want to create them with as little effort as pos
Iím all for making things as easy as possible. The whole idea in business, and life, is to work smarter not harder. When designing websites, I not only want to create them with as little effort as possible, but I also want to make maintaining them easy.
Save this as an HTML file and upload it to your server. Now try to open the page with your browser. If you see the current weekday, like Monday, Tuesday, etc. then you can start using SSIís. If you donít see anything, rename the file extension. Instead of using HTML use SHTML. Some servers require the ďSĒ and others donít.
Another thing you need to know is that you shouldnít use the SHTML extension on your Home or Index page. Spiders donít like it and won't be able to Index the page on their search engines.
Now that you know your server will let you use SSIís, letís start saving time. The first thing you need to do is create a text (.TXT) file that contains the information you want to include. This can be graphics, text, links or anything else you want to include. You will want to include the HTML that you would normally put on a web page. Think of this text file as something that will be pasted into your web page, since this is exactly what will happen.
If you wanted to include a copyright on each page, then put this into the text file
Copyright © 2004 Jeff Colburn
and save it as a text file. Letís call it copyright.txt.
Now, create the web page where you want the copyright to go. In the place where you want to see the copyright, put
then upload this web page to your server. When you go to this page with your browser, you will see the copyright information where you want it.
If the copyright doesnít show up, recheck the above command. Be sure the spacing and capitalization are correct.
I usually put these text files in my main folder with all the SHTML files. Another option is to put all of the SSI text files into their own folder. If you do that, then the command will look like this
Replace the word ďdirectoryĒ with the name of the directory where your text files are located.
Now you can use SSIís to include anything you want on various pages. And feel free to include as many SSIís on a web page as you want. I use up to five on some of my pages. The real secret is to carefully plan out your site and its future growth. This way you can include SSIís as you create your site, instead of adding them to your site after itís completed.
So have fun with SSIís, be creative and let your server do as much of your work as possible.
Source: Free Articles from ArticlesFactory.com
ABOUT THE AUTHOR
Do you need a website for your small business or yourself? Do you need copy written for your website or business? I make website design fast, easy and affordable. Go to my site NOW! Free monthly newsletter too. http://www.CreativeCauldron.com