Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 01:07:12 PM

Pages: [1]   Go Down
  Print  
Author Topic: Beginner Help! - Easier Way to Edit Static Content Using SSI  (Read 2109 times)
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« on: August 26, 2009, 10:09:11 AM »

Just added a great new tutorial to the web hosting wiki, and wanted to make sure I shared word about it here.  This one in a kind of introduction to using Server Side Includes (SSI) to easily edit content that stays static across your entire web site layout.  It also comes in handy when you have a series of navigational links to edit - now instead of editing the one link on all of your pages, you can get away with updating one link on one page, and have the changes show on all of them.

Here is a teaser of the web hosting wiki post...

Quote
When working on a regular HTML based web site, you might often notice that you need to insert the same blocks of information again and again. For example, your web site’s basic navigation links (such as home, about me, my projects, etc) might be pasted in every single page that you create. Editing and updating these links can quickly become a pain if you get to many to work with. What is a webmaster to do? By using Server Side Includes (SSI) you can point every page to one location where your navigation is stored.

Read More About the Easier Way to Edit Static Content Using SSI!

Hope you enjoy and find this helpful!  Thumbs Up
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
webweaver
Galactic Royalty
*****
Offline Offline

Posts: 206


WWW
« Reply #1 on: August 26, 2009, 03:34:31 PM »

Great tutorial. 

Since so many people expect the web pages to end in just .html instead of the shtml, would it be worthwhile to add to the tutorial the way to edit the .htaccess file to allow html pages to be treated as shtml? Since the shtml files will be parsed anyway, it should not add any load to the server, should it?  It does assume that all your pages need the included files, but I think most of our web pages would need the navigation, etc.
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #2 on: August 27, 2009, 04:42:26 AM »

Yeah, I plan on adding one in the future - right now, mainly wanted to get that one main topic covered.  Thanks though for the feedback, appreciate it!
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #3 on: August 28, 2009, 07:22:18 AM »

Here is what you asked for:

Use .html on SSI Web Pages

Enjoy!
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
webweaver
Galactic Royalty
*****
Offline Offline

Posts: 206


WWW
« Reply #4 on: August 28, 2009, 02:39:55 PM »

Mitch,

You are the BEST!  The lunarpage forums have almost always been able to solve any problem I have.  Clapping

This is because of lunar staff like you  Applause  and because of folks like Dr. Phil  Yep  and others who take the time to help us all out when we lose our way.   Bouncin for Joy



Webweaver
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #5 on: August 31, 2009, 05:58:54 AM »

You are more than welcome!  Applause Applause Applause
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pages: [1]   Go Up
  Print  
 
Jump to: