Meta Data

The meta data feature for pages allows you to store arbitrary data against each page. How you use this data is entirely up to you, but it is all made available in your page template, meaning you can output it as required.

To manage the meta data for a page, click the Meta Data tab when viewing a page. To add a new item, enter a key and its corresponding value, and then click the Save Meta Data button. If you use up all the fields, just save what you have done then extra blank fields will be shown.

There is no particular format for the meta data key. It can any string that helps you to easily identify that item. The key is what you use to refer to the value from your template.

To edit a value that has already been saved, just update it as necessary and then click the Save Meta Data button.

To delete an item, empty the key field field for the corresponding value. Now, when you submit the form, that item will be deleted.

Sample Uses

  • Page Keywords And Description. Meta tags are commonly used in HTML pages to list keywords for that page and/or a description. You could either achieve this by putting the keywords and description in your template, or by assigning these values per-page and then adding tags in your template to bring these in.

  • Internal Notes or Documentation. Perhaps you want to keep track of things you need to update on a particular page. You could use the meta data feature just to track these features.

Just because you are saving meta data with a page, doesn't mean you have to output it on your web site.

Special Meta Data Values

There are several special meta data values that alter how Recite CMS presents the given page to the user.

These values are listed here, as well as the effect they have. The highlighted term in the list below is what you enter as the Key when setting a page's meta data.

  • redirect: The redirect tag causes an automatic redirect to another page or URL. For instance, if you set this value on your home page, when someone visits the home page of your site, they will be redirected to the URL you enter as the value here.

  • content_type: The content type of a web address instructs a browser how to interpret the data it receives, thereby showing it to the user correctly. By default, all pages sent by Recite CMS use the type of text/html. If you wanted to return, say, XML data (for example if you were outputting a site map for Google Sitemaps), you could set this meta data value as text/xml.