My site adds both header and footer using php. Is there any disadvantage as far as Search Engine Optimization goes? Is there anything I should be doing with header and footer to improve or help my SEO? I did notice when using Tidy to check HTML that it combined both files. I could use Tidy to do this on all my pages if there was a possible improvement value in SEO. I appreciate any guidance and thoughts on this topic. Regards Fix
Well.. I would use the Header (OR the footer) to have a good internal linking (for example to have a link back to the homepage from EVERY inner page. You can't use ANY of them for anything meaningful for SEO!
It can go either way. A footer is fine as long as your not doing anything stupid like anchor stuffing. But to use it for general knowledge or internal linking is good.
Don't worry about using tidy, the white space is easily ignored but it makes the code more human readable when you need to edit it. Using a header and footer script is very normal and the search engines can't detect that you've done it, all they see is the html that is sent out from the server.