Top Web Hosting Reviews
Top Web Hosting Provider of The Month:
Top Web Hosting
Visit Bluehost.com | Read Bluehost Review

>> Web Hosting Geeks // Web Hosting Articles // Web Design  


Using Server Side Includes to Simplify Your Web Design








An "include" file is a piece of code that can be put into a seperate file -- for example -- your navigation bar -- and then "included" in a number of other pages. This has the very useful advantage of allowing you to retain consistency over a very large number of pages, and then make changes to all of those pages by just changing the include file.

For instance, say you want each page in your site to include a short paragraph that uniquely identifies your site. I normally call this a "site-id". It would read something like this:

ForSaleTours.com - provides information and sources for virtual tours for the real estate industry. We explain different methods of combining video and audio to produce virtual representations of your home to enhance its value and to make the purchasing experience of potential buyers better than it otherwise might be.

To set this up so it appears in a host file as an "include", you normally have to do three things:

1. Make sure your server allows SSI (server side includes). If you have access to your web site control panel you should be able to figure this out. Or if not, ask your web host technical support people.

2. Create a "host" file and give it a file extension so your server recognizes it contains include files. A common extension is .shtml

3. Create your include file. It can usually have any of a number of different extensions: .html, .htm, .php, even .txt. This is the file that will be included within other files.

4. Embed the correct code within your .shtml file to point to the include file. If the include file and host file are in the same folder on the server, it will look like this:

<!--#include file="file_name.html"-->

If the include file is located in a different folder (on the same server), the code will look like this:

<!--#include virtual="folder_name/file_name.html"-->

In the above example you have to make sure the relative path to the include file is set correctly.

Now when you want to make a global change to, for instance, your "site-id", you just have to change the include file (once), and this change will be populated through all the pages that include that file.

Include files can be put to many creative uses that allow you to do things that are otherwise very impractical. And if you have a website with a large number of pages, this technique can save you a great deal of time.

For more web design and online marketing tips see the Linknet Marketing Resource Library

Rick Hendershot is a marketing consultant, writer, and internet publisher who lives in Conestogo, Ontario, Canada. He publishes several websites and blogs, including The Linknet Network of Websites. This network provides an inexpensive way to advertise your website, and get as many as 100 low cost links.


MORE RESOURCES:

Lets Talk More (blog)

Who Would've Thought Web Design In Essex Would Thrive?
Lets Talk More (blog)
That's right, web design in Essex is big business – and for no apparent reason: there just happens to be a number of successful web design companies in ...
Web Design Essex Awards End In TragedyBand of Slugs (blog)

all 2 news articles »


Naples Web Design Firm Expands "The Exceptional Team"
PR.com (press release)
Scotino previously worked at a highly successful web design firm in New York, and will be a valuable asset to the continued growth and success of Naples web ...



Insite Advice Named One of the Best in St. Louis Web Design
PR Web (press release)
St. Louis Small Business Monthly names Insite Advice as one of St. Louis' best in web design in its November issue. St. Louis Small Business Monthly ...

and more »


What it takes to run a web design firm in this crazy, mixed up economy
I, Resolve (blog)
The Irish Government put together a program to assist a delegation of 10 companies prepare for a move to Cloud Computing-based offerings. ...

and more »


Top rating for web design firm
Car Dealer Magazine
AUTOTORQ.COM has scored 'stratospheric' results in an independent survey by top-rated Forrester Research. Outstanding marks were recorded by autotorq.com ...



Sagacious Releases New Web Design for Suiting Major, www.ocm.in
PR.com (press release)
Gurgaon, India, November 19, 2009 --(PR.com)-- New web design incorporating TV Commercial featuring film star Saif Ali Khan has been launched for the ...



Web Design Company Auckland New Zealand
PR-inside.com (press release)
2009-11-18 07:35:39 - Web design company Auckland New Zealand, website designing company, web dvelopment New Zealand, SEO Company, Search Engine ...

and more »


ABConsulting of Raleigh NC Adds Web Design and Hosting to Affordable SEO ...
24-7PressRelease.com (press release)
FUQUAY VARINA, NC, November 18, 2009 /24-7PressRelease/ -- ABConsulting online marketing services announced today the addition of web design and hosting to ...

and more »


Five Website Redesign Steps to Follow, in Order to Achieve Website Redesign ...
PowerHomeBiz.com (press release)
Establishing a successful website redesign requires more than just contacting a website designer and paying the web design cost. ...



Adobe Flash attack vector exploits insecure web design
Register
The root cause of the problem arguably lies with insecure web design practices that are deeply ingrained on the internet. Brad Arkin, Adobe's director for ...

and more »

Google News





 
 
 

© 2004 - 2008 "Web Hosting Geeks" | Web Hosting Reviews | Customer Reviews | RealMetrics Reviews | Hosting Articles | Directory | Partners | Contacts
Over 7000 articles: web hosting, web development, domain names, ecommerce, web design, site promotion, ppc advertising, seo, site promotion and many others.
Web hosting reviews, ratings and awards are not based on any incentives or commissions. Names and trademarks are the properties of their respective owners.
A direct link to Web Hosting Geeks (http://webhostinggeeks.com) must be provided in order to use any of the above information. Contact us for more info.

Partners: Hosts by speed, Cheap Website Hosting, Free Website Hosting, Cheap Web Hosting, Top 10 Web Hosts, Top 10 Web Hosting Deals, Best Website Hosting, Free Web Hosting, Free Web Hosting, Dedicated Server Hosting, Adult Web Hosting, Web Hosting Discussions, Dedicated Server Reviews, Best Web Hosting, Web Hosting Discounts, HostProfessor.com, rsuog, halyava, PHP Website Hosting Services, Web Hosting Reviews, Hosting Uptime, Best Web Hosting Reviews, Cheap Webhosting, Web Hosting, Flash Templates, CMS Templates, Web Hosting Reviews, Website Hosting Reviews, Web Hosting Providers, Best Web Hosting, Top Web Hosting, RSUOG Web Hosting