In development
There is a table (fa_sitemap) which will contain the list of all sitemap urls. Urls are updated and added during the "fa:sitemap:update" commands. The sitemap files are generated by "fa:sitemap:generate" command.
- Selectors implemented for:
- Active categories
- Active products and its variants
- Active content pages from 'User information' folder
- Main page of the shop
- Removal of the urls by removal or deactivation of the related objects
- Branch b-7.0.x is compatible with OXID Shop compilation 7.0.0-rc.2 and up
Module is available on packagist. Install it via composer and activate the module
composer require fresh-advance/sitemap:^v1.0.0
vendor/bin/oe-console oe:module:activate fa_sitemap
Also consider adding the line to .htaccess
file:
RewriteRule ^sitemap.xml$ sitemap/sitemap.xml [NC,L]
Note: directory for sitemap should exist and have enough rights for php to modify its content.
./vendor/bin/oe-console fa:sitemap:updateAll
./vendor/bin/oe-console fa:sitemap:generate
After the "generate" command, the sitemap index and sitemap pages will be generated in "source/sitemap" directory.
Note: Also its possible to update some concrete type of objects IF needed by some reason:
./vendor/bin/oe-console fa:sitemap:update general
./vendor/bin/oe-console fa:sitemap:update content
./vendor/bin/oe-console fa:sitemap:update category
./vendor/bin/oe-console fa:sitemap:update product
- Sitemap access without modifying the .htaccess maybe
- Configurable sitemap directory
- Multilanguage support
- Multishop support
- Configurable step size for update run
The module is not free to use. Please make sure you checked the License before using the module.