Forum Moderators: mack
Apparently i am a noob in web development and so far i am more focus on doing static HTML and SEO work. I was told that there were some kind of EASY to learn and use on maintaining (in term of modifying and updating) a website's footer/sidebar ...using SSL recall (i am not sure on the name though)
...i was wondering does anyone here are kind enough to show me some pointer regarding on issue ..some readings or code names for me to google would be good enough.
looking forward for your kindest reply, thanks in advance.
Redleaf, not green. :)
Hope it helps you out. What I usually do when trying to learn things is I'll even click on things within the tutorials to bring up new searches.
Good luck. SSI's aren't hard to learn.
as 4css mentionned it's not SSL (which stands for Secure Socket Layers [google.co.uk]) but SSI (which stands for Server Side Includes [google.co.uk])
SSI are basically straight html / php / asp / ... code that get's called from another document and get's merged with the document doing the calling to appear as one doc. Ex:
Assuming you are using php for your pages.
In a file called footer.php (your footer include) you have this:
<p>this is the footer</p>
On your main pages you would have this (let's call it index.php):
<html>
<head><title>My first SSI script</title></head>
<body>
<p>this is my text on the page.<br />It is followed by my footer include.</p>
<?php include('footer.php');?>
</body>
</html>
And this is what the visitors and search engines will see:
<html>
<head><title>My first SSI script</title></head>
<body>
<p>this is my text on the page.<br />It is followed by my footer include.</p>
<p>this is the footer</p>
</body>
</html>
the file index.php and footer.php are 'merged' on the server and appear as one file in the browser.
Hope this helps
a side note for those looking for the same guides: you might need to set up your apache handler on your server if you wish to run SSI on file extensions other than .shtml. it can be easily done on the "apache handler" icons if you are using cpanel.
Thanks again guys!
Redleaf