Zenphoto Sitemap

This is a plugin for Zenphoto which generates a sitemaps.org compatible sitemap for the gallery, when the gallery is accessed with ?sitemap in the URL. The sitemap contains links to all public and non-password protected albums and images within Zenphoto.

The sitemap creates URLs depending on whether mod_rewrite is enabled or not, so you still will get those nice clean links from the search engines that we all like, even if this plugin is enabled.

Installation

The installation procedure for this plugin is really simple:

  1. Place zenphoto-sitemap.php inside the plugins/ folder of your Zenphoto installation.
  2. Activate the plugin from the Zenphoto administration panel, under the Plugins tab.
  3. Verify that you are shown an XML file when browsing [your gallery URL]/?sitemap.

That's it, then you are free to submit the address to search engines such as
Google, Bing and so on.

Robots.txt

Consider adding a reference to the sitemap to the galleries robots.txt file located in the root of your Zenphoto installation. That will make search engines able to find the sitemap on their own, if they are able to follow such references.
Simply add the line Sitemap: [your gallery link]/?sitemap to the beginning of
robots.txt, and you are done.

Bug reports and feature requests

You are of course welcome to post bug reports and feature requests for this plugin, this should either be on the GitHub issue tracker, or as a comment
on my blog.

You can get the plugin here: Zenphoto Sitemap v2.0.0

Changelog:

Thread on Zenphoto.org regarding the plugin: Zenphoto Forum.