Questions answered by this recipe
All sections are optional, you can remove those that do not apply to your recipe, and add new ones.
(Delete and) recreate the .pageindex file.
Copy rebuild-pageindex.phpΔ to the cookbook directory and add include_once("cookbook/rebuild-pageindex.php"); to config.php.
Append ?action=reindex to any page to regenerate the full site's .pageindex file
Use ?action=reindex&debug=true to perform a dry run and see what would happen
This is an administrative script. It isn't pretty. It isn't meant to be pretty. It's meant for a very periodic usage and so it doesn't bother with pretty messages and updates. If you want pretty messages and updates then please update the script and re-upload to this recipe.
Change log / Release notes
- 2015-01-31 Initial release
- 2015-06-18 built upon Peter's initial work, rewrite to make an action, remove unneeded code, walk all pagestores in the
- ReindexCategories Update link targets and page index for PmWiki 2.3.0
See discussion at Reindex-Talk
User notes +3: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.