Skip to content
Yii extension for generating Sitemaps
Branch: master
Clone or download
Latest commit 45344c2 Oct 20, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendors/php-dom Added the project files Oct 19, 2015
LICENSE Initial commit Oct 19, 2015


The project brings the sitemap generator based on the website crawler. It is made for Yii 1.1.x. Was not tested and not intended to work on 2.x It is related on PHP Simple HTML DOM Parser ( More about sitemaps:

How To use

To use the generator, add the SitemapComponent.php to your protected/components Copy the php-dom folder to protected/vendors (or download the newest version from the project website). Add configuration following in the protected/config/console.php:

      //sample exclude the wp-* folders, if we also host w WordPress blog,
      //and don't want to include this URLS to the sitemaps.

To run the sitemap generation run:


The parameters are explained in the comments in the code. The sample configuration file and command is attached with the project.


Add the last modification date to the sitemap.

Add urlencoding

Add Escapes of characters: & ' " < >

You can’t perform that action at this time.