yii-sitemap-generator Sitemap Generator (Crawler) for Yii

  1. Requirements
  2. Usage
  3. Resources

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 (http://simplehtmldom.sourceforge.net/)


Yii 1.1.x


To use the generator simply add the SitemapCommand.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.

Then use in the console command:


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


0 0
1 follower
Yii Version: 1.1
License: GPL-2.0
Category: Others
Tags: sitemap
Developed by: Renegat59
Created on: Oct 19, 2015
Last updated: 8 years ago

Related Extensions