Hi,

I used the develop module to generate dummy content on my platform. It also generated taxonomy terms and forums. Although I deleted all generated terms in the vocabularies through the drupal backend some terms are still listed in the sitemap with URLs like http://www.mysite.com/taxonomy/term/153 (the terms are generated as numbers). It seems that some terms where generated without belonging to a vocabulary so I deleted them directly in the database (term_data) through phpMyAdmin - but they are still listed in the sitemap.

I cleared every cache and now have no further idea what I could do. From where gets this modules the data??????

Greez,
Tobias

CommentFileSizeAuthor
#7 issue-516876.patch3.06 KBAnonymous (not verified)

Comments

avpaderno’s picture

Title: Sitemap Taxonomy lists not existing taxonomy terms » Module lists not existing taxonomy terms
Assigned: tobiberlin » Unassigned

It's probable they are listed because are still associated with some nodes.

Anonymous’s picture

Category: bug » support

I don't see that you ran cron.php which is where the links are checked for removal from the xmlsitemap table.

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

ping 1 - you only get 2, the third one will close.

tobiberlin’s picture

Cron is running every 2 minutes and in table term_node are no of the deleted terms associated with nodes but still they appear in the sitemap... :-(

beautifulmind’s picture

Try enabling/disabling XML sitemap.

Anonymous’s picture

After rereading your message, terms deleted directly from the database will not be removed from the xmlsitemap tables. I will test to see if I have the same issue with removing the term via the GUI.

Anonymous’s picture

Title: Module lists not existing taxonomy terms » Deleted items not removed from sitemap.
Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new3.06 KB

This issue has resulted in the attached patch being committed.

Anonymous’s picture

Category: support » bug
dave reid’s picture

Status: Fixed » Needs work

Make sure you add the index to the hook_schema function as well, otherwise we have a mismatched database.

Anonymous’s picture

Status: Needs work » Fixed

Oops. Thanks for checking it Dave. Fix committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.