Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

Temporal virtual albums generate many 404 errors #38

Open stkuff opened 10 years ago

stkuff commented 10 years ago

Hi,

how to prevent robots indexing the temporal virtual albums?

xbgmsharp commented 10 years ago

Using the robot:

User-agent: *
Disallow: /osmmap.php

This solve the issue for the world map. Regarding the temporal album created, it is harder to filter. Maybe the album id is the same and you can exclude all the rest.

Disallow: /piwigo/index.php?/category/4
stkuff commented 10 years ago

Hi,

thanks! Unfortunately the album id is not the same. The plugin seems to generate always different album id's. Would be great if the plugin would write something like: /piwigo/index.php?/temp