The problem is that sitemaps are not automatically submitted to the search engines (at least Google is not registering any).
I can access /sitemap.xml and I can also manually submit it to Google via Webmaster Tools, but XML sitemap is not pushing them to Google as it has for a long time.

All XML sitemap crons run properly, including xmlsitemap_engines_cron, according to Elysia.

I am using the latest XML sitemap dev version.

What can I do in order to find the problem - any debug, any log to look at?

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

Have your sitemaps actually been changing? The module is smart in that if you sitemaps haven't changed since last submitting them, it will not do it again until they have changed.

Do you see any watchdog messages for 'xmlsiteamp' related to engine submission ?

Vacilando’s picture

Yes, many pages have been added and changed on that site.

Well, just to check once again, several minutes ago I went to Elysia and ran just xmlsitemap_engines_cron - it took 1 second, produced nothing in watchdog, and Google Webmaster Tools does not show any sitemap added. The one that there is (which I added manually) bears current date and time, so Google was able to fetch the new stuff, but nothing was submitted to it from Drupal, like it worked before.

Is there anything else I can do to help debug this? I can throw a quick dsm() here or there if you tell me the places.

Thanks a lot.

Dave Reid’s picture

You're not going to see anything new in Google Webmaster Tools unless you actually added each sitemap in your account. Submitting sitemaps does not automatically add them to GWT.

The module is probably not submitting on cron because it doesn't want to run again until after the sitemaps have been regenerated. So if you keep trying to run xmlsitemap_engines_cron(), it will do nothing.

What best to try is to download the Elements module and then go to admin/settings/xmlsitemap/list and use the 'Submit to search engines' operation on selected sitemaps. That will tell you if that functionality actually works.

Vacilando’s picture

We'll, this needs to be clarified.

In Google Webmaster Tools, under Sitemaps, on the right there is "Show submissions: By me (0) - All (0)". Up to now, when I set up XML sitemap to submit to search engines, after a while this showed "By me (0) - All (1)". I understood that the Drupal module kept pushing the fresh sitemap to Google's attention.

What I see now instead is "By me (0) - All (0)" unless I manually add a sitemap, in which case it shows "By me (1) - All (0)". I believe this is not the correct behaviour. The sitemap is up to date even in the latter case, but I am not sure Drupal really submits it to the search engine -- maybe the search engine knows the address and so it keeps getting the updated files on its on schedule.

Anonymous’s picture

I never push to Google. If you tell Google about your sitemap it will go to your server on its own schedule. I've never tested a push to Google and will always use the Google pull method since pusing to Google with every change may cause Google and any other search engine to block your address from submitting at all.