![]() | |
![]() |
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: Best AI Website Builder (May 2025): Squarespace Awarded Top AI Site Creator by SoftwareExperts.org Yahoo Finance Web Design Market Size & Share | Industry Growth [2032] SkyQuest Technology Mozaic - Web Design for blockchain startup DesignRush Houston-Based Agency Jeremy McGilvrey Launches AI-Driven Conversion Optimization Service for Businesses TradingView Grow Your Local Business with WebLime’s Web Design & Marketing Solutions Potomac Local News 4 Common Myths of Website User Experience Advisor Perspectives How to convert Figma designs to code with Cursor AI theserverside.com Unveiling the invisible hand: how AI is reshaping web design UNC Hussman School of Journalism and Media Mobile Web App Developers (2025) Business of Apps Digital Silk Reports Spike in Page Speed Optimisation Requests from New York Brands in 2025 Newsfile Web Pacific Lutheran University Digital Silk Reports Surge in UX and Speed Optimization Requests from U.S. Banks in 2025 StreetInsider A Surge in Mobile-Optimized Web Design Reported for Wellness Brands Across New York: Laser by Aleya Stays Ahead of the Curve Yahoo Finance 2/6/25 – EXPLORE OUTDOOR HAWAI‘I SITE WINS WEB DESIGN GOLD Department of Land and Natural Resources - Hawaii (.gov) Web modernization: New pages, same mission, better service US Forest Service (.gov) Web Design and Development Muskegon Community College California Privacy Penalties Focus on Quality Checks, Web Design Bloomberg Law News California Tourism Leverages Interactive Web Design to Engage Gen Z and Millennial Travelers: You Need to Know Travel And Tour World Houston-Based Agency Jeremy McGilvrey Launches AI-Driven Conversion Optimization Service for Businesses Barchart.com Hudson Brauntz Digital Named Cincinnati's Top-Rated Web Design Company NORTHEAST - NEWS CHANNEL NEBRASKA Boomcycle Digital Marketing Revolutionizes Web Design with Innovative Agency Approach NORTHEAST - NEWS CHANNEL NEBRASKA 15 Web Design Trends for 2025 DesignRush Best Web Design Companies Forbes Skyrocket Marketers Unveils Specialized Web Design and SEO Services for Fintech Firms in Nicosia, Cyprus Barchart.com ChatGPT was tasked with designing a website. The result was as manipulative as you'd expect Fast Company Why website development in UAE so popular? London Daily News 8 Best Apps for Web Designers in 2025 DesignRush Best Website Design Inspiration: Amazon DesignRush 18 Best Tech Website Designs in 2025 DesignRush 11 Best Interactive Website Designs in 2025 DesignRush 16 Best Modern Website Designs of the Moment DesignRush The Future of Web Development: Trends and Technologies on the Horizon IoT Business News Web 3.0 And The Evolution Of Website Design: What You Need To Know Harlem World Magazine 10 Best Medical Website Designs (2025) DesignRush USPS Website Design: A Detailed Overview DesignRush The Quake's Website Design Analysis DesignRush Web Design Statistics By UI/UX, Market Size, Web Development, Industry and Demographics Coolest Gadgets Lululemon Athletica Website Design Review DesignRush 5 Upcoming Web Design Trends for 2022 SitePoint BUSINESS SPOTLIGHT: Young Web Design keeps businesses current The Bradford Era |
![]() |
![]() |
![]() |
RELATED ARTICLES
Website Design Considerations Q: Should I build and maintain my business Web site myself or pay someone else to do the work for me? -- Wesley L.A: When you say, pay someone else to do the work for you, Wesley, I am going to assume that you are talking about hiring a professional Web site designer to do the work and not your next-door neighbor's teenage son. Tips on How to Design a Great Site Have you ever walked pass a shop that, for some reason, you just felt that you had to go in? Maybe it was the d�cor, or the window display, or the pretty girl, or a combination of all those but something in the shop called out to you, "Come in" and you just had to obey.In the online world, won't it be nice to have a site that buyers just had to buy from, despite themselves? Surfers will be drawn to the "Add to Cart" button that squealed, "Click me!" to them. Why You Should Use CSS It seems more and more webmasters are using CSS for the design and layout of their sites rather than depending on tables and HTML mark up. As well as being more efficient in terms of page size and reusing CSS templates many webmasters believe that it also contributes towards search engine friendliness. Other Ways to Look at Things Many people today are tired of the Microsoft software that came pre-packaged with their operating system. Some have switched over to Apple's Macintosh line, but for the most part we just put up with what we have. How Important is Content to a Successful Website Content is the most important part of any website.The Internet was created in the first place as an information source. 6 Reasons Why Web Templates Are Todays Trend As the Internet blooms at an alarming rate, so as the numberof websites out there. Appearance, layout, presentation andloading times are just a few of the main essentialcharacteristics of a successful website. Graphic Terms- The Basics Part I You're almost set. The content of your website, e-book, or software is complete. No More Jargon! Pamper Your Audience! When your company built its website, did you think about the content (the text) of your site? Did you write it for your customers? The answer to these questions is often 'No.'The first mistake most companies make when filling their website with content is overlooking who they're writing for. 7 Tips To Increase Sales With Your Ecommerce Web Site Ecommerce is just exploding right now on the Net. More and more people are doing their shopping online. Immutable Laws Of Effective Navigation - Part 1 The first immutable law of effective navigation: It's gotta be readily available.Visitors should not have to hunt for your navigation or wonder where to find it. Testament To Testimonials We have all seen websites showcasing their testimonials either spread strategically throughout the site or all together on their own glorious page. They're there with the intent of leading us toward that high dollar purchase or convincing us of something's legitimacy. Be Friendly to Search Engines The object of search engines is to give their visitors a list of web pages relevant to the search words, in the order of relevance to the search words. So what do they want from websites?Relevance to a search:The frequency of the search word on a web page is an indicator of its relevance. Three Things You Must Do When Designing and Building Your Small Business Website If you are going to have a web presence for your small business, it only makes sense that it should actually help you get more business. In order to do so, your website design should focus on performing only one function - and that's to convey your sales message to your site visitors in an effective and efficient manner. Questions to Ask When Designing a Website for Clients Questions to ask when designing a Web Site for your client (s)."Excerpt from the book: Graphic Artists Guild, Handbook Pricing & Ethical guidelines Written by: Brent ParkerThese questions are a great tool to use when trying to develop your clients website. Design Matters in our Visual Culture FIRST IMPRESSIONS. First impressions often leave lasting impressions. Content - the Key to Long Term Success Every day internet marketers are inundated with the latest fad or must have program. But the one tried and true asset which is vitally important to the long term success of your online business is valuable CONTENT. Successful Flash Tips Ever browse across a website that took ten million years to load or required a road map to find the navigation bar? True, Flash Technology might impress your clients till their eyes fall out. However, Flash Technology requires a skillful balance between gaudy and elegant. Web Coach Tip: The Single Most Important and CRUCIAL Element of Your Web Site Here's the single most important part of your website: YOUR WEB COPY!And remember: Your website isn't about YOU, it's about THEM!Again, it's NOT about you, it's about THEM!*Note: May I add, this is an area where most of my clients get stuck?If you find yourself at a total loss when it comes to writing, please let me know. ______________________________________________Write/gather/compile; prepare copy for your main pages:? Answer questions. Is a Web Site Builder Right for You? A web site builder can be a real life saver to someone without advanced HTML knowledge or tools. Web site builders allow a relative newbie to the internet create a professional website in very little time. Web Site Accessibility Making your site accessible means making it available to be used by all. It's too easy to think that what looks ok to you will do for all. ![]() |
home | site map |
Webdesign-box © 2006 |