NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
The SEO Metatag Info plugin
makes it easy to add metadata to blog posts (entries) using the HTML meta tag
, however the static and blog pages do not seem to have the same functionality out of the box. Looking at the code reveals that these pages can also have metadata stored and added to when they are displayed. Adding this is a more manual task compared to blog posts, but it is possible.
The first thing to do is to create the statics
directory in the seometa
directory under the FlatPress content location.
Next is to create a file that contains the metadata to be displayed. For the blog home page, it needs to have the prefix 'blog', for a static page, the prefix is the name of the static page.
For example, the blog home page metadata file will be called blog_metatags.ini
and will have the following content:
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
If you spot something out of place, please do let me know.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...