Bug with sitemap tool

Hello,

A small bug with your sitemap tool.

Suppose images per page setting is 30 in options (theme admin page)

Suppose you have 16 jpg and 16 txt files (example : freb.txt, freb.jpg)
Of course, you have activated the extension to be able to use those files.

Now, you use the sitemap tool to erase, recreate the xml files.
You will get an
https://....................../youralbum/page/2/
entry.
But you only have ONE page (16 pictures)
This is because all txt files are also counted; this makes a total of 32 > 30 (admin setting)

Google search console complains that you have 404 errors !

Sitemap tool should not count txt files to get the right pages number (and corresponding links.)

Comments

  • acrylian Administrator, Developer
    edited May 1

    freb.txt, freb.jpg

    Just to be sure. freb.jpg would be the sidecar image to freb.txt which is the actual item here. So the txt file should be listed as image pages and not the jpgs.

    I cannot reproduce the bug on our own site which is using some txt files for videos in the screenshots albums as well. There are 9 images here and images per page is 10. https://www.zenphoto.org/screenshots/screencasts/evolution-of-zenphoto-gource-visualization.txt.html
    Only one page is in the sitemap correctly.

  • ctdlg Member

    Yes, videos files are not affected. Only images.
    Yes, freb.jpg would be the sidecar image to freb.txt which is the actual item here.

  • acrylian Administrator, Developer

    Yes, videos files are not affected. Only images.

    As mentioned we also use txt files for Youtube videos and sadly cannot reproduce this so far.

Sign In or Register to comment.