-
Notifications
You must be signed in to change notification settings - Fork 21
Seo Meta Tags
Nick Baker edited this page Jun 5, 2014
·
8 revisions
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
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(); ?>
http://www.example.com/admin/seo/seo_meta_tags
http://www.example.com/admin/seo/seo_meta_tags/add
- 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.
- The Name of the meta tag you're creating. examples would be:
- type-content
- description
- keywords
- author
- 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
- If checked the
name
attribute of this meta tag will be converted to anhttp-equiv
attribute instead.