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

Working With Titles

Working with SEO Titles feature. This is useful for setting title tags based on incoming uris. This will overwrite the existing title_for_layout if a title for that URI is found (added in the admin tool)

Setup

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

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

Alter your layout to include the Seo Title in the head of your layout

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

Browsing Title Tags

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

Add/Edit Title Tags

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

URI

  • Incoming URI that a user is requesting that you want to assign this title to. Either a relative link following domain (www.example.com).

Title

  • The Name title you'd like to create for this URI
Clone this wiki locally