I have a simple PHP website that I am currently doing SEO work on. I can see that the website was built with PHP and need some help on how to code the Meta Data. I can see that the site has Main Pages, Sub Pages and Includes which makes it hard for me to find where to put the data since they all mash together.
The Content.php page has the include to all other pages for the meta data which reads...
//if (count($pagesArray[$subIndex]) != null) //has subsections
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Glos Associates Inc. | <?php echo $title; ?></title>
<link rel="shortcut icon" href="favicon.ico" />
<link href='http://fonts.googleapis.com/css?family=Lustria' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
<link href="jquery.minitwitter.css" media="all" rel="stylesheet" type="text/css"/>
I am trying to individually Title each page and have separate descriptions for each. How do I do that with PHP using the <title>Glos Associates Inc. | <?php echo $title; ?></title> include?
Should I delete all information in the content.php file and do each one separate or use some sort of include.
please see the website and the data that I have added. You can see that I am getting errors because they are 2 instances of Head tags, ect...