|
Make Money with PPC Ads -
Premierad.com pays up to 75% of advertising revenue.
Software - it bøger
- it kurser - Vi er danmarks største specialiserede softwareforhandler og
tilbyder markedets mest kompetente service inden for software og licensaftaler.
Søgemaskineoptimering - flere besøgende
fra søgemaskinerne - Søgemaskineoptimering - Bliv set i søgemaskinerne
vi optimerer dit websted så det kan findes i søgemaskinerne.
Online marketing - Internet
marketing - Internetmarkedsføring er fremtidens markedsføring - Online
marketing på Internettet, din vej til succes i søgemaskinerne
Hosting samt webhoteller - Vi er et Internet firma med speciale inden for områderne web-hotel, domæneregistrering, hosting, web-design og Intranet løsninger samt programmering.
Lokalnyhederne - Her finder du lokalnyhederne på Amager.
Amagerbladet - Nyhedsiderne samt lokaloversigt med horoskober mv
Calloway
Communications - Not sure where to turn for web development? We can walk
you step-by-step through the process of developing, implementing, and tracking a
successful web strategy.
Domains,
Templates, Web Design Tips - Information and resources, templates,
free tools for building effective websites that get traffic and targeted
visitors
For advertising information see
Linknet Promotions. Get your
text ad on hundreds of pages, including blogs and articles distributed on many
websites.
|
Tip #30 - Using Server Side Includes
Using Server Side Includes to Simplify Your Webs
by Rick Hendershot, Linknet Web Marketing Resource Library
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)
2. Create a "host" file and give it a file extension so your server recognizes it as containing 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
4. Embed the correct code within your .shtml file to point to the include files. 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 ton of time.
Rick Hendershot is editor and publisher of the Linknet Marketing Resource Library. |