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:

ITCN NJ Web Design and Marketing Launches MWC Website
Free Press Release Center (press release), Canada - 4 hours ago
Our goal was not merely web design; it was web interaction with a specific purpose." One of the most important interactive features of the new site is the ...


Web Design Content Management
Vecosys, UK - 19 minutes ago
It is essential for global IT organizations to offer support to its employees and customers. This does not have to require full time employees. ...


Web design firm Brulant sold to New Jersey company
The Plain Dealer - cleveland.com, OH - 3 hours ago
Lonnie Timmons III/The Plain Dealer fileInspirational screens decorate the work space at Brulant in Beachwood. Brulant Inc., an online marketing company in ...


Design flaws make online banking vulnerable: study
NDTV.com, India - 19 hours ago
PTI A majority of websites floated by banks have design-related flaws that could make customers vulnerable to cyber-theft, endangering their money or even ...
Study: Banking Web sites have security design flaws CNET News
Summary Box: Study sees online banking flaws The Associated Press
Majority of online banking sites insecure by design iTWire
NetworkWorld.com - Chronicle of Higher Education (subscription)
all 174 news articles


Dallas SEO Web Design Company Signs Strategic Partnership With SEO ...
BigNews.biz (press release), MA - Jul 21, 2008
SEO web design has been by far one the most talked concept in web development in recent years. With millions of sites, and content spreading like wild fire ...


Carolina Web Consultants, Inc To Service Web Design Studio Clients
dBusinessNews Triangle (press release), NC - Jul 21, 2008
Carolina Web Consultants, Inc (CWC) has assumed responsibilities for servicing Web Design Studio’s customer base. Maintec Technologies, the parent company ...


Who can provide an effective solution on Web Design?
NewDesignWorld (press release), UK - Jul 21, 2008
One of the most talented outsourcing fields is the Web Design and Development that is acquiring a major market share in the cyber world for its huge ability ...


Union Outsourcing it’s Own Web Design to Eastern Europe?
Stop the ACLU, PA - Jul 20, 2008
It appears that the original page was designed by a fellow named Milan Kohut who’s business of web design is based in Slovakia, a small Eastern European ...


Web design & FOSS
ZDNet UK, UK - Jul 14, 2008
I have an admission to make. I don’t know any JavaScript. Sure, I’ve plundered aplenty in the past, noodled with the creations of others and worked ...


NGTC announces honor roll, president's list
Northeast Georgian, GA - 4 hours ago
... CIS Internet Specialist Web Design; Matthew Wilbanks, CIS Networking Specialist; Regina Wilson, Practical Nursing; Mark Withrow, Automotive Technology. ...

Web-Design - 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