I've deleted some products from my commerce kickstart database by means of standard Drupal commerce kickstart tools. But it looks like something gone wrong. Because some deleted pages urls still remain in sitemap,so Google webmaster tools tell me about 404 pages. I've rebuilt sitemap n+1 times but urls of deleted pages still here, in sitemap file. Checking manually commerce_product table,for example,I found that there are some tails(that should be deleted) remain in it.

What tables should I check up to find tails have to be deleted manually?What tables does the sitemap module use to build sitemap file?

  • Did you trigger the cron? – sgoelz Nov 27 '15 at 14:03
  • xmlsitemap module? – houmem Dec 2 '15 at 7:43
  • The cron works properly. Yes,xmlsitemap module. – jvb Dec 5 '15 at 8:55

if you are using the XMLSitemap module, uninstall it and run cron to delete its tables from the database, then reinstall it, it will generate the right urls

  • Well,I'll try to do, what you advised. Well, but something tells me that those, deleted product records "tails" will generate 404 pages again. – jvb Dec 5 '15 at 8:56
  • And I could clear xml module tables manually, is it any need to delete xmlmap module? – jvb Dec 5 '15 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.