Newsletter and webmaster resources site   FR-E-E Reseller Program - Earn $350!!
  Advertise in SiteProNews SiteProNews Archives About SiteProNews SPN Privacy Statement FeedBack SiteProNews Homepage SiteProNews Image Map SEO-News Discussion Forums
  Stretch Your Ad Budget - Advertise in SiteProNews
    QUICK LINKS
 
JUNE 18,  ISSUE #502
Web Search

Add your Site to ExactSeek
ExactSeek Links
      Buy a Top 10 Listing
      Find Your Site Rank
      Schedule a Site Recrawl
      Boost Your Site Ranking
      Enhance Your Site Listing
      ExactSeek Member Login

SEO Tools & Services
A key factor in building website traffic is to use the best tools available. ExactSeek's SEO solution gives you immediate access to 7 effective optimization tools. Get higher ranking on the top global search engines starting today.

FR'EE 90 Day Trial
SEO Tools and Services


Search Engine Forums
Join the SEO-News discussion forums to post comments, tips and articles or learn from SEO experts.
Forum Posts
Yahoo 14
Google 45
SE Articles 15
Link Exchanges 32
General Discussion 11
Join SEO-News Forums H'ere
Web Tools & Software
      Site Ranking Tool
      Meta Tag Generator
      Link Popularity Checker
      Search Engine Submitter
      Webmaster Software Directory
 
Traffic-Generators
Signup for TrafficZap
Free-Traffic for Your Site

Webmaster Resources
A comprehensive directory of the Web's top webmaster resource sites. More than 480 websites listed in 12 major categories.

Webmaster
Resource Directory

Tip of the Day
You can change the font color of your form submission buttons by using the style tag. Add style="color: #FFFFFF" to your input tag. Change the hexadecimal color value to whatever you'd like. However, try to select a color that will be easy to read.

Today's tip by Shelley Lowery of Web-Source.net - Your Guide to Professional Web Site Design and Development.

SPN Site of the Day
Simtel.net is one of the oldest and best freeware /shareware directories on the Web. Has all the usual perks like new releases, most popular downloads and much more.

Does your web site qualify as a SPN Site of the Day? Webmaster resource sites can apply via email: sotd@sitepronews.com
 

SPN App of the Day
ExplorerXP 1.03 (384 KB) is a fast, compact file manager. Unlike the regular Windows Explorer, it displays the total size of each folder and allows you to browse multiple folders from a tabbed interface. Includes options to split and merge files and to select or delete files based on wildcards. Freeware for Windows 2000/XP.

If you have a Webmaster App that you would like listed on the SPN site, send us an email with details to: wapps@sitepronews.com
 

Jayde Newsletters
Subscribe to SiteProNews, the Net's foremost Webmaster ezine, AllBusinessNews, the weekly newsletter for online businesses or SEO-News, our new weekly ezine for do-it-yourself website optimizers. Just enter your email address in the field below and cl'ick the Subscribe button.

HTML Newsletter
SiteProNews
AllBusinessNews
SEO-News


Top 5 DeskTop Themes
DesktopThemes Downloads
MegaMicro 46618
Northern Lights 37355
Toni Braxton 36129
Submerge 41683
Disturbed Theme 8068
Powered by AAAScreensavers
Must Read Ebooks
SPN offers one of the best eBook libraries on the Web. Our current selection includes Commercial and 178 plus Fr'ee eBooks.

Authors of EBooks may submit their publications to SPN via email: ebooks@sitepronews.com
 

Link to SiteProNews
Link your site to SiteProNews, the fr'ee, newsletter and resource site for Webmasters.

Or, Add SPN to your site with just 2 lines of JavaSc'ript code. Top content for your site without any of the work.

Visit our SPN Promotion Partners page. Some great sites have opted to support the SPN newsletter.

ExactSeek ToolBar
The new ExactSeek Toolbar has a host of new features, including built-in spyware detection and removal, pop-up blocker, Alexa site ranking, drag and drop search and much more. For a full feature list and to download, visit the:

ExactSeek Toolbar Page


SiteProNews Partners
SubmitPlus - Promote your site to 110 search engines... FR'EE!

Template Monster - World's number one website templates are available for immediate download.

Add Me! - A leading resource for website and e-business promotion.

PreWired.com - Providing ISPs & Publishers a Web based revenue stream!

$9.50 Domain Names... Register, transfer or renew your domain names and get a FR'EE Service Suite.

FindMyHost.com... Review detailed Report Cards of web hosts who made the grade.

Web-Source.net... Your Guide to Professional Web Site Design & Development.

TheCgiSite.com - A directory of programming resources.

 

ExactSeek
Add Me!
DesignerWiz
Submit Plus
FindMyHost
Alexa Toolbar
SubmitExpress
Template Monster
Optimize Your Site
Fr-e-e SEO Tools
FreeWebSubmission
Earn Extra Income
Fr-e-e Top Rankings
$9.50 Domain Names

Simple Server Side Includes
By Scottie Claiborne (c) 2004
Successful-Sites.com

Anyone who's ever had to change a multitude of static pages on a site knows what a pain it is to find and change the same snippets of code on one page after another- even using an Html editor's find-and-replace function can be cumbersome since you have to upload all of the pages to the server again with the new code. Sometimes a page or two will get missed or the find-and-replace function replaces some things you didn't intend to change, so it requires some quality-checking time to run through all the pages and make sure the changes are there.

An easier way to manage pages in your site is by replacing chunks of repeating code, such as your navigation links, with server side include (SSI) files. Instead of repeating the same code over and over, you create a separate file with just that chunk of repeated code in it, then place a line of code on each page that tells the server to insert the contents of a separate file into that spot on the page.

FR-E-E Reseller Program - Earn $350!

When someone visits your page, the server scans the code, pulls in the files needed to assemble that page and returns the page as a single, complete page to the browser. Your "includes" code is replaced by the contents of the file the code called. Since this all happens on the server's side of the transaction, your visitors don't need to have any special browsers or plug-ins in order to make this work; SSI returns a "normal" html page to the browser.

SSI files can simplify the maintenance of your site. Information that may change from time to time or that replicates across many pages can be replaced with SSI files. Then, when you alter that include file, every page on your website changes where the included file is being read. You will find include files often being used to replace the entire header and footer for each page. When set up as includes, the background color, graphics, navigation, or copyright information can be changed across the entire site by altering the include file for that information. Without includes, you would be forced to go through all your pages to make the necessary changes.

You can use as many includes files on a page as you need- you can also call different includes files for different pages. A good example is subnavigation links that only appear on certain pages, you only call that include file where it's required. Any block of code in your site that repeats across pages is a good candidate for SSI.

Buy or Sell Text Links - LinkAdage Auctions!

The format for the code you will use to include a file within an Html page will depend on the operating system of your server. For most sites, this will mean either Windows or Unix/Linux. If you are using Windows, you'll be changing your file extensions to .asp. For Linux/Unix systems, you will use .php extensions. You should check with your web host or server administrator if you are not sure what platform your site is hosted on.

Here are the two standard file include methods for both Windows and Linux systems (Note: you must use the proper file extensions [.asp or .php] in order for these functions to work.) Remember, the included file will process just as regular Html; all you are doing is splitting your pages into manageable parts for easy editing and maintenance:

Windows (.asp)

<!--#INCLUDE FILE="header.asp"-->

1. Create a file called header.asp that only contains the code that you want to include.
2. Include the file with the above code in the place where the code should appear on each page.
3. Name all files with a .asp extension.

Deliver the Best E-Commerce Solutions to Your Clients with StoreFront!

Linux/Unix (.php)

<? include("header.php"); ?>

1. Create a file called header.php that only contains the code that you want to include.
2. Include the file with the above code in the place where the code should appear on each page.
3. Name all files with a .php extension.

Put A Google-Type Ad Box on 7 Search Engines
Your Keywords - Top 10 Placement
All for $12/URL or Less, PLUS
Sign Up Today and Receive FR-E-E Bonus Software

In both cases, relative paths can be determined as in HTML, such as:

<? include("../header.php"); ?>

or you can use an absolute (full) path, which is ideal for sites that have multiple levels of folders in their structure:

<? include("http:www.site.com/header.php"); ?>

Changing the extensions of your pages can be a temporary headache, especially for established sites but in the long run, the ease of maintaining and changing the site is worth the effort. Before changing page extensions, be sure to have a custom 404 error page in place. (Most hosting packages today offer custom 404 page tools in their control panels- contact your host if you don't see an option in your hosting control panel.)

SSI gives you the flexibility of a framed site without all the usability issues that come along with frames. It allows you to separate the page content from the structure and graphics, giving you the freedom to easily change any consistent element of the site without a major hassle. It's worth changing existing sites and should definitely be considered when planning a new site.

Editorial Note: For additional information on Server Side Includes, you can visit the following websites:

WDVL.com
BigNoseBird.com
TheSiteWizard.com


About The Author
Scottie Claiborne is the owner of RightClickWebs.com and the facilitator of the Successful Sites Newsletter. She is a speaker at the Search Engine Strategies conferences and the High Rankings Seminars as well as the administrator of the High Rankings Forum.


Printer Friendly Version of this Article


Other Recommended Articles for Webmasters

Bring Your Web Site to Life With PHP,   by Shelley Lowery
Buyer Beware:"All in One" Package Nightmares,   by Vishal P. Rao
Get Better Search Engine Rankings with RSS,   by Satyajeet Hattangadi
7 Secrets to Top Search Engine Rankings for SEO Dummies,    by Ewen Chia

Need Content for Your Website - Visit GoArticles.com - 17,200+ Articles and Growing

Webmaster Resource Sites & Services

Achieve Un'limited Top Positions with WebPosition Gold, the top-rated, original search engine marketing tool. Download for FR-E-E.

Metamend.com - Optimize your website with a recognized world leader in search engine optimization. SEO services to meet any web site's needs.

FreeTechMail.org - A search engine where you can review and subscribe to thousands of IT newsletters.

Search Engine Tools - The only way to increase your Web site's position and ranking on search engines is to use the optimal tools. The ExactSeek SEO Solution is F-R-E-E for 90 days!

Earn a Residual Income! - Internet gaming is the fastest growing segment of web-based commerce. Benefit from the popularity of online gaming with little or no marketing investment.

Recommended Webmaster EBooks & Tools

Download the Fr'ee Alexa Toolbar
An indispensable tool for all web professionals that plugs right into your browser to provide Tr'affic Data, Site Stats, and Contact Info for all the sites you visit!.

The Insider's Guide To Dominating the Search Engines
Introduces you to revolutionary, "tried-and-tested" optimization strategies which will increase your website tr'affic by 10, 100, or even 1000 times ... GUARANTEED. See results start to materialize in as little as 2 days....and see significant results appear in just 1 month.

Want a Simple Explanation of How to Make Mon'ey Online?
Our friend Jim Daniels, who makes $200k a year from his basement, will show you how. His simple, five page website explains the Actual Steps to Making YOUR Living Online. If you're tired of hype, see this fr-e-e guide.

 

  SiteProNews - The Net's most widely read Webmaster newsletter
 

Best-SearchEngine.com       Previous SPN Tips of the Day       AllBusinessNews.com      

GoArticles - Search 17,200+ Articles       MetaWebSearch - Search Top Engines       EzineHub - Search 6,200+ Newsletters      


(c) Copyright 2004 All rights reserved. Jayde Online, Inc.
Web design by
ControlV.