Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2671 v4.2.2 sitemap files contain duplicate entries for multi-ged

v4.2.2
closed-fixed
Greg Roach
None
5
2009-09-26
2009-09-11
Jan van Tiggelen
No

Will try to explain the casus as clearly as possible, so please bear with me ;) The sitemaps I generated for the GED on pre-4.4.2 versions (I'm using PGV since version 3.1) were always constructed just fine by PGV. As of v4.2.2, however they contain duplicates and incorrect entries.

My site is built on 6 GED files. One is the main GED, containing most of the individuals (about 10.000). The other GEDs don't link to the main tree.
Now, for the main tree, the individual URLs in the sitemap look like:
individual.php?pid=I5161&ged=name_of_main.ged

In the secondary sitemap GED, I'll find:
individual.php?pid=I5161&ged=name_of_secondary.ged

The PID=5161 is invalid for the secondary GED file, as it doesn't contain this PID at all.

As a result, the 6 sitemap files for my GEDs will all be about the same size. With older versions this used to be 1 large sitemap file, and 5 significantly smaller sitemap files. This was my initial indication that 'something' was wrong...

Feel free to contact me for additional details.

Discussion

  • Greg Roach
    Greg Roach
    2009-09-25

    • assigned_to: nobody --> fisharebest
    • status: open --> pending-fixed
     
  • That solves it! Thanks a lot :)

     
  • Verified the fix - after applying the changed /modules/sitemap/index.php file, the generation of sitemap files is correct again.

     
    • status: pending-fixed --> closed-fixed