Hello,

More on the contrib.sitemaps framework.

My personal site is available at three different URLs:

jonatkinson.org
jonatkinson.eu
jonatkinson.co.uk

The same code runs all the sites, though I have some code which
inspects the request object and prints a different title based on the
domain you hit.

I've recently installed a sitemap (eg. jonatkinson.co.uk/sitemap.xml),
but no matter which domain I hit, I always get URLs which start with
the .co.uk domain. I'm sure this is entirely normal behaviour, as this
is the SITE_ID which I have defined in my settings.py.

I'm pretty sure that serving an incorrect sitemap.xml for a domain is
worse than having no sitemap at all. If I could change the SITE_ID
based on the request, then I imagine that this would work correctly,
but I'm not even sure if that is possible. Any ideas?

Thanks,

--Jon

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to