Originally Posted by
agua
deronsizemore - that is what you would do normally - but if you have more articles in the section and they have their own meta data - then you end up with 2 sets of meta tags... I don't think this is good - still I'm sure there is a work around - but that brings me back to why I want to make my own cms
I've never used textpattern, so I don't really know if this is what you're talking about (Ignore this post if it isn't).
But, if you mean like having different meta data for different articles shown from the same file (i.e. articles.php?article1 and articles.php?article2 or articles/article1 and articles/article2 if SEOed URLs), then what I would do is have a column the the articles database for meta description or keywords etc. Then just get the info from the database and assign a variable to it and use it like:
HTML Code:
<META name="description" content="<? print($metadescription); ?>">
<META name="keywords" content="<? print($metakeywords); ?>">
Again, ignore this if it wasn't what you were looking for. heh
Bookmarks