Forum Moderators: phranque
You cannot put anything after the </body> or </html> closing tags if you expect it to be displayed by browsers or indexed by search engines.
What you are probably looking for is SSI (Server-Side Includes). You could also use PHP to do this, but that's a different forum. ;)
In it's simplest form, SSI on a page for use on Apache would look something like this:
<p>Here's my footer!
<br><!--#include virtual="/footer.inc" -->
<p>I hope you liked it!
</body>
</html>
There are several ways to enable SSI parsing on Apache, each with advantages and disadvantages. I refer you to Apache mod_include [httpd.apache.org] for some background.
Jim
Thnaks for the response.
I'm fine with SSI, I use it on most of my sites when not working with PHP because I tweak things so much :D
I just wondered if it was possible to add a footer to every page in just a few lines of code, since in this case (not my site btw) there are about 400 pages I need to append to in one go, and it would make my life a little easier if I don't have to go through pasting code into each and every file.
Perhaps instead you know of a bulk find-and-replace programme?
Thanks again,
James.