Need instruction. Please.
Situation: Most of my site pages start with the following:
<?
include("include/common.inc.php");
top();
left();
middle();
bottom();
function middle(){
?>
My include/common.inc has the head, title, meta tags which means they look the same on EVERY single page of my site (hundreds of pages!). Not good for SEO.
Extract from include/common.inc:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>This is just a quick show etc etc ……….</head>
Question: How do I safely move the <head> to each individual page so that I can customize the title and meta tags? I do not care how long it takes me. Where do I place the <head> on the pages, before <?, after, in between?
I tried to place the <head> at the top of each page and tried MANY other things, it does not work.
Note: I still need include/common.inc to be there since it holds lots of functions.
THANK YOU EVERYONE!!!!!!!!!!!!!
Natasha:icon_cheesygrin: