Compare Web Hosting Plans Comparison shopping for a
great web hosting deal!
Home - Budget Hosting - Virtual HostingDedicated ServersReseller Plans - Free Downloads - Articles
 

 

Use SSI without having to rename your files



Server Side Includes (SSI) can make your life as a webmaster a lot easier. Just imagine having to change a portion of every single web page on your site (a navigation menu for example), especially if it has hundreds or even thousands of pages!

SSI reduces this task to simply making the change to one file and watching the change take place immediately and automatically on all of your pages! But many webmasters don't make the switch to SSI because they don't want to change the file extensions of each page from .html to .shtml.

Well, there's good news! You don't have to! There is a very simple way to use SSI on your website while keeping your .html file extensions. Here's how:
  1. Add the following lines to your .htaccess file and upload it to your Linux server:
     
      Options Includes
      AddType text/html .html
      AddHandler server-parsed .html
       
       
  2. Create your include file(s) and upload it(them) to your server.

    Note: Click here for instructions for using SSI on your pages.
 
That's all there is to it! Now you can enjoy the benefits of server side includes without having to rename all of your files!

 
Home  -    -  Add URL  -  Site Map
© 2003-2006 CompareHosts.com