Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.
Notice: I'm taking a break from blogging to focus on Atari Gamer . com, check it out!

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 for FlatPress 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.

Want more Flatpress hints? Check out this article - Make FlatPress generate meta tags without the use of the SEO Metatag Info plugin.

The first thing to do is to create the statics directory in the seometa directory under the FlatPress content location.
> cd fp-content/content/seometa
> mkdir statics
> cd statics

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:
description=Description of the blog goes here.
keywords=blog, keyword, tag, etc


Skip down to comments...
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.
comments powered by Disqus
Other posts you may like...