Monday, September 6, 2010

XML sitemap not using correct domain name

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