Monday, September 6, 2010

Re: XML sitemap not using correct domain name

Hi,

You need to edit de default site name and url.
By default the site application creates an www.example.com site. Just log in the admin and change it.

Regards,
Xavier.

Le 6 sept. 2010 à 16:58, Sithembewena Lloyd Dube a écrit :

Hi all,

I added a sitemap app to my Django 1.2.1. app to and when I browse to sitemap.xml on my development machine, Django does generate valid xml sitemap.
However, it's using www.example.com/ in the generated links instead of my local IP address and port number. is this behaviour customisable without a hack - and if so, how?

Thanks,

--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment