开发者 | nuprn1 |
---|---|
更新时间 | 2011年1月25日 00:49 |
捐献地址: | 去捐款 |
PHP版本: | PHP 5.2, WordPress 2.9.2, BuddyPress 1.2.x 及以上 |
WordPress版本: | PHP 5.2.x, WordPress 2.9.2, BuddyPress 1.2.1 |
Currently upon activation of this plugin - a daily cron will be set. In your wp-config.php file you may add define( 'BP_SITEMAP_CRON_INTERVAL', 'daily' );
to one of the accepted wp-cron values (hourly, twicedaily, daily)
If you need to change the time of execution - simply deactivate and reactivate the sitemap at the time you wish to the cron build to occur (this will change in future release to a selectable time)
This is a BETA and currently priority is hardcoded into bp-sitemap-core.php file
I'm not sure - please test and let me know.
If you get permission errors, make sure that the script has the right to overwrite the sitemap.xml and sitemap.xml.gz files. Try to create the sitemap.xml resp. sitemap.xml.gz at manually and upload them with a ftp program and set the rights with CHMOD to 666 (or 777 if 666 still doesn't work). Then restart sitemap generation on the administration page. A good tutorial for changing file permissions can be found on the WordPress Codex and at stadtaus.com.
Per the sitemap.org protocol - urls are limited to 50k per file. Given the community nature of BuddyPress, extracting content into a sitemapindex will allow larger sites to publish all urls.