XML Sitemap is indeed working, but it is generating the URLs in the sitemap using my site's IP address rather than the domain name.

http://www.capa.org/sitemap.xml should make it clear what I mean.

I'm sure its vhost related. Any thoughts?


Status:Active» Postponed (maintainer needs more info)


I don't know what you mean?

Status:Closed (fixed)» Postponed (maintainer needs more info)

Maybe he seeing the IP associated with his site, for some reasons.

@ericdfields: Do you use the IP to access your web site, or are there particular rules that applies to you when you connect to your web site?

Status:Postponed (maintainer needs more info)» Closed (fixed)

Thanks for getting back to me so fast @earnie. I fiddled around in the sitemaps configuration tools in drupal and was pretty sure I did no major changes, but It seems to have fixed itself. Before it would show like so:


This issue is resolved for now.

Status:Postponed (maintainer needs more info)» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Version:6.x-1.0-beta6» 6.x-1.0-rc2
Category:support» bug
Status:Closed (fixed)» Active

I am seeing the same thing with 6.x-1.0-rc2.

Left to it's own devices, when I check the sitemap, it shows the URL's by IP instead of by my domain. If I go in and using the tools tab, delete the cache files, it then rebuilds with the domain name.

However, the next time I check it, a few days later, it's always back to showing no domain name, only the IP.

I just rebuilt, so it's showing normal again, but I will post up here again with more detail, the next time I spot it in this state.

The problem being, of course, Google declines to accept URL's in the IP format, showing an error in the Webmaster Tools.

Component:Code» Other
Category:bug» support
Status:Active» Postponed (maintainer needs more info)

How do you run your cron? Have you set $base_url as described in settings.php? This issue is not related to xmlsitemap and is therefore a support request.

Version:6.x-1.0-rc2» 6.x-1.x-dev

Moving to 6.x-1.x-dev for continued visibility.

Status:Postponed (maintainer needs more info)» Closed (works as designed)

This is a $base_url problem that needs to be corrected in your site's settings.php. Closing this issue.

I had the same problem with one of my sites. When the site map was generated using the admin interface everything worked correctly. The issue only occurred when cron was run and all urls used the site IP address rather than the domain name. I tracked this down to the cron command, setup whilst the site was still in development, which was using the IP rather than the domain.

Incorrect cron command

/usr/bin/lynx -source

Corrected cron command

/usr/bin/lynx -source http://www.mydomain.com/cron.php