The simplicity of Django continues to amaze me. Doing a www redirect is as simple as going into your settings.py file and adding:
PREPEND_WWW = True
That’s it!
Prepending www to your domain (e.g. www.itmilk.com instead of itmilk.com) is a basic SEO factor to avoid duplicate copies of your webpages.
Got Thoughts?
By all means share them, and start the conversation.
Leave Your Own Comment
You can follow any responses to this entry via its RSS comments feed. You can also leave a trackback if the inclination is there.