This is a very simple PHP snippet that will set $title, $meta_keywords and $meta_description for use in your page header. You'll need to create meta_tags.txt which will use this format:
page_name.html|page title|meta tags|meta description
page_name2.html|page title2|meta tags for page 2|meta description for page 2
To use the code either save it at the top of your header file or save it as get_meta.php and add this line of code to your header:
Code:
<?php include('get_meta.php'); ?>
You can reference the $title, $meta_keywords and $meta_description variables in your header like this: