yii-seo Nice and flexible way to manage your SEO, without rewriting the code


  1. Description
  2. Installation
  3. Usage
  4. Find us
  5. Change Log


YiiSEO has been completely refactored. It is lot more flexible and now you can make almost any SEO changes without changing your code.

Features :

  • single language and multi-language site support
  • can be used to add author meta, FB meta and many more
  • uses inverse hierarchy to find meta data

Requirements : update your URLManager in /protected/config/main.php this way :



  1. Unpack 'yiiseo' folder to '/protected/modules/'
  2. Add folowing code to configuration files (protected/config/main.php)
                    'password'=>'111', // your default password is 111
        	'class' => 'application.modules.yiiseo.components.SeoExt',

3.Run following line of code that suits you into your main layouts head :

  • In case the site has one language:
  • In case when site is multilingual:

4.Run module by typing in the link : http://yoursite.com/yiiseo/


When you enter this module - you'll see the usual CRUD. For starters - press CreateYiiSEOUrl. In the form below enter your meta data.

URL URL - is the relative link to your project. For example - if you want to write meta for the root(homepage) of your project - just write "/" in the URL.

Another example : You need a SEO meta data for http://example.com/sites/news page. Than in the URL - write down "sites/news" (without shash in the beggining)

If you want to use it for multiple links - for example you have links like this http://example.com/post/7 and you need all posts to have the same meta patern - just use following URL "post/*"

Main meta There are 3 metas that we devided from the rest : Title, meta description, meta keywords. In case of title or description - just type the text as you would usually do. In keywords write down phrases separated by commas.

Params Using the params is a tricky part. To use a param in main meta - just use the "{param}" in place where you want it to be. After that - choose it from the list. The list is auto generated from site models and there relations.

Find us

Find us on GitHub : https://github.com/Idol-IT/yiiSEO

yiiSEO wiki : https://github.com/Idol-IT/yiiSEO/wiki

For more info or advanced functions contact us : http://idol-it.com/

Change Log


  • change : path to models is now more flexible (thanks to Alexey Naydenko)
  • bug : missing assets folder is now added to archive


  • feature : added line break for each meta
  • feature : added module logout button
  • feature : no need to create dump files, they are automatically generated
  • change : module password setting is set in 'protected/config/main.php'
  • change : single space added after each comma in keywords
  • feature : no need to create dump files, they are automaticly generated
  • bug : model without db table issue fixed
  • bug : unique session for yiiSEO users, to fix a user authorization conflict
  • bug : tags are now stripped
5 0
2 174 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: monkeymafia
Created on: May 16, 2012
Last updated: 9 years ago


show all

Related Extensions