Covered this a few times but another won't hurt
Add this code to your .htaccess file
Code:
AddType text/html .shtml .shtm .htm .html
AddHandler server-parsed .shtml .shtm .htm .html
And you can then use Server Side Includes on .htm and .html files.
put your common navigation elements into one page ( navi.php say) , then use;
<!--#include virtual="/navi.php" --> to insert it into the pages
Note that the include should NOT be a fully formed HTML document. It should just contain the elements you would normally have in the section it replaces.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|