Improving Rankings via Server Side Includes (SSI)
Recent changes in Google's algorithm have caused sites to disappear or to shift in rankings this month. Many searchers have complained that Google's relevancy has declined from the changes. Therefore, don't be surprised if they continue to tweak their formula causing ranking to bounce up and down for awhile.
One observation regarding the new formula appears to be a greater preference for pages that change often. "Fresh" pages are thought to be more valuable than old, "stale" pages. The question is how do you make your page appear "fresh" every time a search engine chooses to spider it?
You could try to update all your pages in some small way everyday, but who has time for that? Luckily, you could take advantage of a feature of many Web servers called Server Side Includes (SSI). SSI's are simply statements in your HTML that tells your Web server to include a certain block of text when the page is served to a Web browser or even a search engine's spider. There are other ways to dynamically generate content on your Web site such as using JavaScript or VBScript. However, these require the search engine spider to execute the script in order to see the new content. Most search engines will not do this since they take a more simplistic approach when reading a Web page.
With SSI's, the content is transparently merged into your page by your Web server before the search engine's spider ever sees it. Therefore, the spider does not have to even know you used a server side include. Using this method, you can merge in today's date on your page giving your Web site an up to date look not only to your visitors, but to an engine checking for new content since its last visit. To merge in a date on a Unix server, you'd simply insert this command into your HTML:
<!--#echo var="DATE_LOCAL" -->
The above will display the default date format of your server on the location of the page that you place the tag. To specify an alternate date format, include something like this near the top of your page:
<!--#config timefmt="%m/%d/%y" -->
where the above would display the date in month, day, and year order.
Changing the date alone may not be enough for a spider to consider the page as being "new." Therefore, you should create a text file with various sentences or paragraphs appropriate to your page and then use a script to randomly merge in a different block of text each time the page is served. For example, you could have a "news" box on your page that displays various news clippings about your industry. You can find one such random text script by visiting this script archive resource page.
Most servers by default will only support SSI on pages ending in .shtml. However, some search engines may not give you the "freshness" bonus if they see the .shtml extension. Ideally, you should use SSI on pages with regular .html or .htm extensions. You can do this by creating an .htaccess file in your site's root directory (or edit the existing text file) and add the following line:
AddHandler server-parsed.html
The above will tell your server to support SSI on all files ending in .html, assuming your Web host supports it. The drawback with SSI is that not all Web hosts support it because it exacts a performance penalty on their servers. That's because the server must read each page and look for include statements. Before getting too far into SSI, contact your Web host (or your system administrator if you host your own site) and ask them if they support SSI for your domain or whether they can activate it. Also inquire about what level of SSI they support.
Unfortunately, I don't have the space here to take your through all the in's and out's of SSI, but there are many good reference guides on the Web. If you're a novice user still struggling with HTML, then you may want to focus on the optimization basics for now. However, if you're ready to move onto something more advanced, SSI is an excellent way to gain a competitive edge while enhancing the value of your site.
SSI Resources:
Planet Ocean has one of the best SSI tutorials I've seen for the search engine optimizer, taking the user through many relevant topics in a non-intimidating manner. However, they do require a subscription for $97. This entitles you to their vast library of SEO articles plus their monthly newsletter for six months. They offer some of the best optimization advice on the Web, so if you are not already a current subscriber, I would highly recommend becoming one.
Other SSI Resources:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html
http://www.oltronics.net/ssifaq.html
Robin Nobles is the Director of Training of the Academy of Web Specialists, which teaches online training in search engine marketing. She is also a trainer with Search Engine Workshops, which presents on location workshops in search engine marketing at various locations across the country. Please visit our site for more information about online training and other resources.
http://www.marketposition.com/
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More Search Engine Tricks Articles
More By Developer Shed
developerWorks - FREE Tools! |
<a href="http://zeus.developershed.com/shonuff.php?blackbird=3853&zoneid=442&source=&dest=http%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fspaces%2Fjazz%3FS_TACT%3D105AGY31%26S_CMP%3DDEVSHED&ismap="><img src="http://images.devshed.com/corp/img/news/jazz01.gif" alt="developerWorks Jazz space" align="left"></a>You've heard the buzz about Jazz... want to know more about it from a developer's perspective? Check out the Jazz space on developerWorks. This space is an up-to-date resource for developers, including technical information about Jazz and products built on Jazz, like Rational Team Concert Express. The Jazz space includes content from a wide variety of sources, including links, feeds, and comments from experts. FREE! Go There Now!
|
|
|
|
You'll get answers to many questions and more from David Barnes, Lead Evangelist for IBM Emerging Internet Technologies. David will discuss aspects of Web 2.0 that bring value to corporations, academia, and government. He'll also discuss IBM's vision around Web 2.0, including the importance of remixability and consumability. The discussion will culminate with examples of various IBM Software Group solutions you can use to get ahead of the Web 2.0 adoption curve. FREE! Go There Now!
|
|
|
|
Visit IBM developerWorks to download a free trial version of WebSphere Business Modeler Advanced V6.1.1, IBM’s premier business process modeling and analysis tool for business users that offers process modeling, simulation, and analysis capabilities. IBM WebSphere Business Modeler helps you visualize, understand, and document business processes for continuous improvement. FREE! Go There Now!
|
|
|
|
Download a free trial version of IBM Rational Developer for System i V7.1, which provides a complete development environment for traditional i5/OS application development. IBM Rational Developer for System i is a new eclipse-based workstation offering for i5/OS application development that provides a comprehensive Integrated Development Environment for edit/compile/debug of traditional RPG/COBOL/C/C++ i5/OS applications. FREE! Go There Now!
|
|
|
|
Analysts, architects, and developers who have existing COBOL or PL/I skills and want to extend those skills to deploy new workloads on the mainframe can use the IBM Enterprise Modernization Sandbox for System z to find hands-on walkthroughs of common real world scenarios. The scenarios provide examples of how to rapidly design, create, assemble, test, and deploy high-quality Web, Web services, portal, and SOA applications for IBM CICS, IBM IMS, and IBM WebSphere Application Server. FREE! Go There Now!
|
|
|
|
Learn how Rational Build Forge can extend a simple compile and package build process by adding customization and deployment capability. Go from a manual method to automating: checking for code changes; getting the latest source; compiling and packaging; customizing; copying to and restarting a deployment server; and sending e-mail notification that a new version is available. FREE! Go There Now!
|
|
|
|
As organizations have grown increasingly dependent on online software, the risk of malicious attacks has also become far more serious. Fortunately, well-governed organizations can protect their Web applications by injecting vulnerability assessments and ethical hacks into their software development and delivery processes. This paper describes 12 of the most common hacker attacks and provides basic rules that you can follow to help create more hack-resistant Web applications. FREE! Go There Now!
|
|
|
|
Join the IBM Watchfire team for an informative discussion on techniques and best practices to proactively manage Web application security and how to effectively build application security testing into the software development lifecycle (SDLC). In this Software Delivery Platform webcast you will learn: How to better understand potential web application security vulnerabilities, best practices and how to effectively integrate application security testing into the software development lifecycle, the importance of detecting and removing software vulnerabilities during application development. FREE! Go There Now!
|
|
|
|
User communities play an important role in communication and collaboration around products, solutions and other areas of special interest to members. Successful communities are able to provide the right mix of content and services to deliver a value proposition that resonates with each audience. Join Tom Inman, VP of Marketing for Information and Platform Solutions as he introduces the new LeverageINFORMATION community. During this webcast, learn about the value provided by the community and how customers and partners derive value from the community in addressing their own technical and business challenges. FREE! Go There Now!
|
|
|
|
The unprecedented scope of a service-oriented architecture (SOA) initiative brings to the forefront a number of management and governance issues that were sidestepped in the past. The key to a successful SOA implementation is managing and governing activities throughout the entire SOA delivery lifecycle by ensuring that services conform to the needs of all of the business’s stakeholders. Learn how service lifecycle management allows the business to ensure that the process by which services are defined, created, tested, deployed, optimized and retired is manageable, repeatable and auditable. FREE! Go There Now!
|
|
|
|
All FREE IBM® developerWorks Tools! |