My site is, say, example.com. The sitemap created is www.example.com. It throws google off and causes errors.

I can not find where to fix this. Any ideas? Thanks.

Comments

earnie’s picture

Status: Active » Fixed

The correct action is to set the $base_url variable in the settings.php as exampled in that file.

webdev2’s picture

done - many thanks

Dave Reid’s picture

I added this problem to the known issues documentation since we've had this problem pop up a few times.

Status: Fixed » Closed (fixed)

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

Hancock Glen’s picture

Issue summary: View changes

I am having the same issue.

Something on my SSL broke so I set the base URL to Http://hancockglen.com
XML site map is still generating on https//

I double checked and my front page is set to http as in the $base_url variable in the settings.php

I have cleared cach many times, I have deleted the site map and added new and it is still going to the the HTTPS.

Any hints?