I am deploying a Django project with Gunicorn + Nginx. I create a sitemap.xml file with the sitemap framework. I use a 127.0.0.1:8001 proxy so when i access to example.com/sitemap.xml the result is similar to this:
<changefreq>monthly</changefreq><priority>0.5</priority></url>
When i add sitemap.xml to the Google index in Google Webmaster Tools, Google does not allow the sitemap.xml because the domain in location tag is 127.0.0.1:8001 and not my domain.
Is there any solution to this problem?
I've posted this question in StackOverFlow too: http://stackoverflow.com/questions/28263869/sitemap-xml-file-in-django-gunicorn-nginx-web
Thank you so much for your help
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/685515fd-89f4-4a62-99e0-d13a1b7ca643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment