Quantcast
Channel: Issues for XML sitemap
Viewing all articles
Browse latest Browse all 1238

After cron runs, sitemap.xml contains incorrect links.

$
0
0

I have drupal 6.14 and xmlsitemap 6.x-2.x-dev
I have set up a cron job to run cron.php every day.
Only problem is that after the cron is run, the sitemap.xml file that is generated shows incorrect links.

Instead of the links being
http://example.com/sitedir/path-to-node,
the links generated in the xml file read
http:///path-to-node.

The base domain and drupal install dir, don't get listed in the link.

If I rebuild links, the sitemap.xml that gets generated has all the correct links.
But after the cron runs the next time after this, the links devolve into the form mentioned above i.e. without the base dir and the install dir.
Help.


Viewing all articles
Browse latest Browse all 1238

Trending Articles