Hey there,
the xml module generates not the www.domain.com, but css.domain.com... How can i change this problem.
Here you can see my xml sitemap: http://www.hifi-agent.de/sitemap.xml

Comments

Jawi’s picture

same issue here.

After changing the adress from http://development.site.com to http://site.com and change the base_url in the settings.php to settings.php , the url of to the XML file remains the same.

Perhaps I need to use the install or update script, or change adress in the database?..

Wim Leers’s picture

Status: Active » Postponed (maintainer needs more info)

Does this problem still exist?

Wim Leers’s picture

Assigned: Unassigned » Wim Leers
Status: Postponed (maintainer needs more info) » Closed (works as designed)

Closing due to lack of response.

zanndoth’s picture

Problem still exist. Just wet 'live' yesterday and the url on the sitemap is wrong. Tried deleting the sitemap and generate a new one but the problem is still there.

solomonson’s picture

Status: Closed (works as designed) » Active

Same here. It's still an issue. I found that it has to do with the variable table in the database. I used the following query to fix it:

UPDATE variable SET value='s:99:"http://example.com";' WHERE name='xmlsitemap_base_url';

Where the 99 is the length of your domain (including the http and all) and example.com is your domain.

Wim Leers’s picture

Project: CDN » XML sitemap
Version: 6.x-2.1 » 7.x-2.0-rc1
Component: Module » xmlsitemap.module
Assigned: Wim Leers » Unassigned
Priority: Normal » Minor
Issue tags: -XML sitemap, -sitemap

I don't see how this can be caused by the CDN module. It's fine e.g. on http://wimleers.com/sitemap.xml and http://driverpacks.net/sitemap.xml.

Moving to the XML Sitemap module issue queue.

Anonymous’s picture

Category: bug » support
Status: Active » Fixed

This is a common misconfiguration case. You need to go to admin/config/search/xmlsitemap/settings, open the "Advanced Settings" field group, go to the "Default base URL" field and update it.

Wim Leers’s picture

There we go — thanks :)

It didn't make any sense to me at all why this was in the CDN issue queue :)

HalB’s picture

Makes no difference for me. Its still the wrong domain name. I've rebuilt it at least 6 times. I'll try the uninstall method.

HalB’s picture

Correction ... caching issue with chrome. All is well.

Anonymous’s picture

Status: Fixed » Postponed (maintainer needs more info)

What is your $base_url set to in settings.php?
How do you process the cron.php file?

javier.martin’s picture

Issue tags: +xmlsitemap, +drupal7, +wrong url

I had the same problem but earnie solution run perfect for me.

Forget edit settings.php, only change base_url on "Advanced settings" in admin/config/search/xmlsitemap/settings, clean cache, run cron and try again.

Thanks.

rooby’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Fixed

Definitely try clearing browser cache after making the base url change too.

I think this can be marked fixed now.

It can be reopened if need be.

Status: Fixed » Closed (fixed)

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