Skip to content

networksystemone/yiiSEO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

yiiSEO v2.2

Description

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

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

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

'urlManager'=>array(
        'urlFormat'=>'path',
        'showScriptName'=>false,
),

Installation

  1. Unpack 'yiiseo' folder to '/protected/modules/'

  2. Add folowing code to configuration files (protected/config/main.php)

     'yiiseo'=>array(
     	'class'=>'application.modules.yiiseo.YiiseoModule',
     	'password'=>'111', // your default password is 111
     ),
     
     'components'=>array(
     	....
     	'seo'=>array(
     	'class' => 'application.modules.yiiseo.components.SeoExt',
     	),
     ),
     
     'import'=>array(
     	....
     	'application.modules.yiiseo.models.*',
     ),
    

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

  • In case the site has one language: Yii::app()->seo->run();

  • In case when site is multilingual: Yii::app()->seo->run(Yii::app()->language);

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

Contacts

Idol-IT develop team : http://idol-it.com

Yii framework extension : http://www.yiiframework.com/extension/yii-seo

About

SEO Module for PHP Yii Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 67.3%
  • CSS 28.8%
  • JavaScript 3.9%