Q. How can I have the same content on every page.
A. you can use frames but those are really not recommended for search engines. I would use includes. Well there are actually at least four ways:
SSI - and using the extension shtml or shtm (server side)
ASP - using the extension asp (server side)
PHP - using the extension php, phtml, phtm (server side)
JavaScript - using the extension html or htm (client side)
Frames - not recommended
They depend on your server and the way it is set up. Including the file is is basically like
SSI
<!--#include file="includes/nav.html" -->
ASP
<!--#include file="includes/nav.html" -->
PHP
<?php include("includes/nav.html"); ?>
With the server side the file is parsed on the server before being rendered in the browser. The nav.html would have your code that is your navigation only - for example:
| <a href="/default.asp">Home</a> | <a href="/about.asp">About</a> | <a href="/contact.asp">Contact</a> |
And that would be it - nothing else is needed since everything else will be pulled from the main page that is calling for the included content.
JavaScript
With the JavaScript, you it would be a bit different, you would save this as nav.js:
<!--
document.writeln("| <a href="/default.asp">Home</a> | <a href="/about.asp">About</a> | <a href="/contact.asp">Contact</a> |");
//-->
<script src="includes/nav.js"></script>
however, some search engines do not read JavaScript since it is a client side language is (if by chance) the user has JavaScript disabled, then they would not see the JavaScript.
For the
type of hyperlinks - I would recommend using Virtual if you do use the server side includes.
Check with your hosting company to see what server side includes they will support.