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
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | issue-516876.patch | 3.06 KB | Anonymous (not verified) |
Comments
Comment #1
avpadernoIt's probable they are listed because are still associated with some nodes.
Comment #2
Anonymous (not verified) commentedI don't see that you ran cron.php which is where the links are checked for removal from the xmlsitemap table.
Comment #3
Anonymous (not verified) commentedping 1 - you only get 2, the third one will close.
Comment #4
tobiberlinCron 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... :-(
Comment #5
beautifulmindTry enabling/disabling XML sitemap.
Comment #6
Anonymous (not verified) commentedAfter 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.
Comment #7
Anonymous (not verified) commentedThis issue has resulted in the attached patch being committed.
Comment #8
Anonymous (not verified) commentedComment #9
dave reidMake sure you add the index to the hook_schema function as well, otherwise we have a mismatched database.
Comment #10
Anonymous (not verified) commentedOops. Thanks for checking it Dave. Fix committed.