Closed (fixed)
Project:
XML sitemap
Version:
5.x-1.4
Component:
xmlsitemap
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2007 at 14:15 UTC
Updated:
16 Jan 2008 at 20:46 UTC
I've been using google sitemap with no problems, but now with XML Sitemap seems broken on cron updates.
Using XML Sitemap, with engine, node and term modules. I also have Path and PathAuto enabled.
This is the sitemap that I get in the browser:
http://127.0.0.1/always1.0
http://127.0.0.1/node/362007-09-26T18:36:32+00:00monthly0.4
http://127.0.0.1/node/352007-09-26T18:38:27+00:00monthly0.4
http://127.0.0.1/content/vonage-condenado-pagar-multa-de-69%2C5-m-usd-sprint-nextel.html2007-09-26T18:44:02+00:00monthly0.4
http://127.0.0.1/content/ixia-lanza-herramienta-para-testear-la-voip-granel.html2007-09-26T18:45:49+00:00monthly0.4
http://127.0.0.1/content/traducidas-las-primeras-p%C3%A1ginas-de-la-ayuda-de-los-cds-de-debian.html2007-09-26T18:56:32+00:00monthly0.4
http://127.0.0.1/content/haz-tu-wct4xxp-m%C3%A1s-chula.html2007-09-26T19:01:22+00:00monthly0.4
Then I've found that if I disable and enable again xml sitemap node, or xml sitemap term then sitemap comes back to life.
Any idea?
Comments
Comment #1
darren ohIs this a duplicate of 201037?
Comment #2
darren ohCould be a duplicate of any number of issues.
Comment #3
bytecoders commentedFirst of all I must say sorry for not being too much specific.
I run Drupal cron jobs with an entry on my cron server as this:
lynx --source http://127.0.0.1/cron.php
Now, urls in sitemap appear like this (replaced t with *, this is correct):
h**p://127.0.0.1/drupal_url
Instead of:
h**p://bytecoders.homelinux.com/drupal_url
I don't think this could be a duplicate of 201037 as there are no SQL errors with database or nine-digit string of numbers in URL.
I've been browsing issues and is strange because I didn't find something similar, but I'm sorry if it's duplicated.
Google sitemaps, show an error as 127.0.0.1 is not reachable.
Comment #4
darren ohYou need to set $base_url in settings.php to the proper path. Otherwise the site map will be generated with the URL from which it was accessed when it was updated.
Comment #5
bytecoders commentedThanks, that solved the problem. I have considered changing the issue title in order to be more descriptive.
Thanks again, works perfect now