Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Jawi CreditAttribution: Jawi commentedsame 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?..
Comment #2
Wim LeersDoes this problem still exist?
Comment #3
Wim LeersClosing due to lack of response.
Comment #4
zanndoth CreditAttribution: zanndoth commentedProblem 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.
Comment #5
solomonson CreditAttribution: solomonson commentedSame 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.
Comment #6
Wim LeersI 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.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedThis 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.
Comment #8
Wim LeersThere we go — thanks :)
It didn't make any sense to me at all why this was in the CDN issue queue :)
Comment #9
HalB CreditAttribution: HalB commentedMakes no difference for me. Its still the wrong domain name. I've rebuilt it at least 6 times. I'll try the uninstall method.
Comment #10
HalB CreditAttribution: HalB commentedCorrection ... caching issue with chrome. All is well.
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedWhat is your $base_url set to in settings.php?
How do you process the cron.php file?
Comment #12
javier.martin CreditAttribution: javier.martin commentedI 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.
Comment #13
rooby CreditAttribution: rooby commentedDefinitely 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.