Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| all2egooglesitemaps | Norman Leutner | planning |
| Version | Compatible with |
|---|---|
| 1.0.0 | 4.x (PHP 5) |
This extension creates an XML sitemap of an eZ Publish installation for the Google webmaster tools (https://www.google.com/webmasters/tools/) and other services using a cronjob.
Download the latest release:
http://projects.ez.no/all2egooglesitemaps/downloads
Just copy the extension to your eZ Publish extension directory and activate the it by adding the following lines to your site.ini.append.php
[ExtensionSettings]After activation the extension you should be able to generate the site map using the runcronjobs.php script.
bash# php runcronjobs.php googlesitemapsThis will create a file called sitemap.xml within your eZ Publish root directory.
Please ensure that your Apache rewrite rules permit access to the XML File when accessing like http://www.all2e.com/sitemap.xml
This can be done by adding the following lines to your .htaccess or Apache configuration file:
RewriteRule ^sitemap.xml - [L]After these steps are finished you might add the script to your crontab so it will be generated frequently. You should also take a look at the googlesitemaps.ini.append.php configuration file.
Please provide your feedback here or contact us directly on all2e.com