The Nettle Blog

The Nettle Blog is the web log for, The Nettle Magazine - For The Home Business Online, and other home business news.

Tuesday, November 14, 2006

SSI (Server Side Includes) and shtml


I've moved all of my blogging activity to The Lucid Blog.
You can visit my new home at:
www.thelucidblog.com


A big thank you to wikipedia for sorting me out on this one.

I've hired a web designer to build my new template for PayPerShop.com and I want to make heavy use of SSI (server side includes allow you to add the same content, menu, header, etc to multiple pages very easily - useful if you have a large site). My designer pointed out that it would need to be in shtml.

I've seen shtml as a file extension before but never really considered what it meant.

I did a quick Google on "ssi and shtml" and wikipedia explained that the file extension .shtml means that this page will recognise and execute server side includes. I don't want to use shtml because it would mean changing the file name on every page (8000+) - erk!

Fortunately, Wikipedia also pointed out that a server can be configured to accepts SSI on pages with the .html extension.

My host pointed me towards - http://www.buildwebsite4u.com/advanced/htaccess-file.shtml

Then it was just a case of downloading my htaccess file and adding the lines:

AddType text/html .shtml
AddHandler server-parsed .shtml .html
Options Indexes FollowSymLinks Includes

Problem solved.

Looking forward to working with the new template. My goal is to have it all up and running before the end of the year. Let's hope the seo starts to kick in soon after that. Were heading into the quiet part of the year for our website and we could use the boost in traffic.

Last Four Weeks:
15,289 visits (-10%)
29,412page views (-12%)
59.2% of visits coming from search engines



Look for physician jobs on The Recruiter.com.


Create Feed Buttons

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home