Skip to content

SimonovaNelya/cms-seo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Component seo for SkeekS CMS

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-seo "*"

or add

"skeeks/cms-seo": "*"

Configuration app

'bootstrap' => ['seo'],

'components' =>
[
    'seo' => [
        'class'     => 'skeeks\cms\seo\CmsSeoComponent',
    ],

    'i18n' => [
        'translations' =>
        [
            'skeeks/seo' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/seo/messages',
                'fileMap' => [
                    'skeeks/seo' => 'main.php',
                ],
            ]
        ]
    ],

    'urlManager' => [
        'rules' => [
            'robots.txt'                  => '/seo/robots/on-request',
            'sitemap.xml'                 => '/seo/sitemap/on-request',
        ]
    ]
],

'modules' =>
[
    'seo' => [
        'class'         => 'skeeks\cms\seo\CmsSeoModule',
    ]
]

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | en.cms.skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com

About

Component seo for SkeekS CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%