I have a commom php header. I would like to add page specific META.
Currently my header looks like this.
<?php include ('includes/pageheader.php'); ?>
It currently uses a long if statemment
<?php $page = $_SERVER['REQUEST_URI'];
if($page == "/") {
?>
<!-- Metadata for home -->
?>
I was wondering if there was a better way or a class to be able to build up page specific meta to this header.