Skip to content
Nick Baker edited this page Jun 5, 2014 · 8 revisions

Working With Meta Tags

Working with SEO Meta Tags feature. This is useful for setting global meta tags for every page as well as fine tuning any meta data you want for your site

Setup

Include the Seo.Seo Helper to your app_controller.php:

var $helpers = array('Seo.Seo');

Alter your layout to include the Seo Meta Tags in the head of your layout

<!-- other head items -->
<?php echo $this->Seo->metaTags(); ?>

Browsing Meta Tags

http://www.example.com/admin/seo/seo_meta_tags

Add/Edit Meta Tags

http://www.example.com/admin/seo/seo_meta_tags/add

URI

  • Incoming URI that a user is requesting that you want to assign this meta data to. Either a relative link following domain (www.example.com) or a regular expression.
  • Regular expression are started and ended with # sign.

Name

  • The Name of the meta tag you're creating. examples would be:
    • type-content
    • description
    • keywords
    • author

Content

  • The Content of the meta tag you're creating. examples would be:
    • text/html;charset=ISO-8859-1
    • description of the page you're currently viewing
    • keword1, keyword2, keyword3, keyword4,
    • Nick Baker

Is_Http_Equiv

  • If checked the name attribute of this meta tag will be converted to an http-equiv attribute instead.