Singapore Web Hosting - Web hosting, email hosting, web design and promotion services in Singapore.

Easy Web Site Maintenance Using Server Side Includes (SSI)

SingaporeWebHosting.com

Singapore Web Hosting - Web hosting, email hosting, web design and promotion services in Singapore.

Home | Linux Hosting | Windows Hosting | Email Hosting | Domain Name | Web Design | Web Promotion | Reseller | Servers

Current Special

1 Year Free Web Hosting
included in our
Web Design Service

Web Hosting SingaporeWhy Choose Singapore Web Hosting .com
With thousands of website hosting companies why choose our service? Because we care about every customer and every detail of our business. We provide Unix / Linux web hosting, Windows hosting, email hosting, dedicated servers, domain name registration, web design and promotion services. And we make sure the job is always done right.

Home
Unix Hosting
Windows Hosting
Email Hosting
Domain Name
Web Design
Web Promotion
Reseller Plan
Dedicated Server
Support
FAQ
Resources

About Us
Contact Us

 

 

Singapore Web Hosting > Support

Easy Maintenance Using Sever Side Includes 

Server Side Includes (SSI for short) is a must-have when you shop for web hosting services. It can be very useful to your web site development. Click here for more information on how SSI will help you.

In this article, I'll discuss how to use SSI to make your web site maintenance a much easier task.

SSI is very necessary for large sites, even though SSI is a pain to learn and implement, and is an increased burden on the server. It's very well worth the pain the next time it comes to redesign your site's navigation system.

Generally, the larger your site is, the more maintenance work you will have, and the more you should consider constructing it with Server Side Includes.

In fact, for any business web site, it's normal and sometimes necessary to change the site structure and navigation system. For example, you developed a new product line and need to add in a new section in your web site. It would be a nightmare for your webmaster if she has to update the links on every page manually.

All these common elements - stuff that is the same on every page: left-side menu, top menu, bottom text, etc. - can be made into a SSI file to be included (inserted) into your web pages. When you need to update these elements, you can simply edit the SSI file instead of every pages.

Take a look at the top menu of this page. In the actual source code shtml file, there's no visible text or links at that place. Instead, all that is there is the following line (SSI directive):

<!--#include file="header.txt" -->

In the header.txt file lives the HTML code of the top menu:

<p align="center">
<a href="../index.shtml">Home</a> | 
<a href="../web-hosting/index.shtml">Web Hosting Plans</a> | 
<a href="../email-hosting/index.shtml">Email Hosting</a> | 

<a href="../web-design/index.shtml">Web Design</a> | 
<a href="../web-promotion/index.shtml">Web Promotion</a> | 
<a href="index.shtml">Support</a> | 
<a href="../faq/index.shtml">FAQ</a> | 
<a href="../resources/index.shtml">Resources</a></p>

But if you "view source" of this page, you won't see the SSI directive at all since the server has processed it before sending it to you.

Whenever I want to change the top menu, add in a "What's New" section for example, I simply edit the header.txt file. Every page containing this menu will be updated then.

That is a timesaver!

Same for bottom menu and text there.

Not only that. Look at the left side of this page. As you can guess, the left-side menu is also generated by SSI. And the newsletter sign up form as well - in case I need to install a new list management script someday.

Now look at the resource box below. No, it's not done by SSI because I don't think I will ever want to change that. My point is, for anything that is on every page and you may want to change someday, use Server Side Include.

More Web Hosting, Design, Promotion Articles and Tips

Feel free to use this article in your publication or web site.
It's pre-licensed to you.
The only requirement is to include this resource box at the end of the article:

Article by Zac Hewlett at SingaporeWebHosting.com
Visit http://www.SingaporeWebHosting.com for more
web site design and promotion articles, proven online
marketing tips and techniques.

 

Web Hosting Articles and Tips

Why Do You Need A Web Site In The First Place?
What To Look For In A Web Host? 2
Why Do You Need Your Very Own Domain Name?
How To Choose A Domain Name?
What Can Server Side Includes (SSI) Do For You?
Super-charge Your Web Site With CGI Scripts 2
How Much Bandwidth Do You Need?
What's In The Mysterious Log File?
How To Use FTP?

Web Design Articles and Tips

Web Site Design Basics - From Internet Marketers Standpoint 2
Top 10 Deadly Web Site Design Mistakes 2
Easy Web Site Maintenance Using Server Side Include (SSI)
Should You Do Web Site Design In-house?
Cascading Style Sheets (CSS) Made Easy
Avoid "Lost" Traffic By Making Full Use Of Error Pages
What The Heck Is That? - All The Jargons Explained 2 3
How To Design An Effective Navigation System?
Are You Mad About Spam?
Ten Steps To Top Ranking Pages In Google 2

Web Promotion, Internet Marketing Articles and Tips

Can You Still Make Money On The Internet?
How To Rank High In Search Engines?
How To Get Listed In Yahoo? 2
The Power Of Opt-in List
How To Reach Millions Of People With Your Product For Free?
How To Get Thousands Of People Actively Promote Your Online Business? 2
The Strategy That Will Pay You Off For Years
Does Banner Ad Still Work?
One Stone, Three Birds - Newsgroup And Forum Participation
The Magic Word
How To Drive Targeted Traffic In 10 Minutes Time?

 

Singapore Web Hosting, Web Design, Web Marketing

 

Web Hosting Singapore | Web Hosting | Email Hosting | Domain Registration | Web Design | SEO | Resellers Plan | Dedicated Servers
Copyright © 2001-2009 Singapore Web Hosting .com Web Services Division of Silver Media
Privacy Policy | Terms of Use | SLA | Acceptable Usage Policy | Site Map | Singapore SEO | Singapore SEO