Hi
I use the module sitemap-extended its creates the file:
mysite.com/cache_html/sitemap/sitemap-zenphoto-index.xml
what is listed in this file doesn't exist:
../page/index.php
../page/index.php/2
../page/index.php/3
etc.
The index page of my gallery is index.php and there is no folder "page"
I suppose i should only have
/index.php
what can i do to solve this problem?
Thanks
Pat
Comments
If a theme/site does not use this structure but a custom one the sitemap does not and cannot know about that.
The simplest way sadly would be to manually edit the sitemap files to remove the unneeded ones. OR create a custom sitemap plugin matching the structure of your theme/site.
sitemap-zenphoto-index.xml
?
Thanks
Edit: Btw, as I don't always know everything offhand myself: On the plugin options you can override the index page by setting the gallery index your theme/site uses.
I think creating links to a folder named "page" should be an option not something the user has to manually modify in the script.
Correct urls for the index pages would be:
`yourdomain.com/page/1` (modrewrite url)
`yourdomain.com/index.php?page=2` (non modrewrite url)
I just tested and the sitemap generates the correct urls for me. So the question is what is different on your site.
In the sitemap configuration i had "index.php" for the gallery homepage instead of leaving the field empty.
I have the admin in french and the translation is not right as it says "if this field is empty the index sitemap WON'T be generated."
while in fact this field should be left empty if the gallery home page is index.php...