Download the PHP package katech91/yii2-sitemap-module without Composer
On this page you can find all versions of the php package katech91/yii2-sitemap-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-sitemap-module
XML Sitemap Module for Yii2
Yii2 module for automatically generating XML Sitemap.
Installation
The preferred way to install this extension is through composer.
- Either run
or add
to the require
section of your application's composer.json
file.
-
Configure the
cache
component of your application's configuration file, for example: -
Add a new module in
modules
section of your application's configuration file, for example: -
Add behavior in the AR models, for example:
-
Add a new rules for
urlManager
of your application's configuration file, for example: -
Sitemap creates by following scheme: sitemap.xml containes SitemapIndex with list of local sitemaps and url's sitemap:
local sitemaps (for example sitemap_news.xml) contains addresses of news if number of articles is less than 1 000:
If number of articles bigger local sitemap contains addresses of subsitemaps: