django flatpage redirects

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2009-10-26T20:26:15Z Indexed on 2010/05/08 5:08 UTC
Read the original article Hit count: 146

Filed under:
|
|

I want to make sure all of my flatpages have the "www" subdomain and redirect to it if they don't. I've looked at some middlewares that redirect to www, but 1. they usually redirect all urls to www and 2. the ones I've found don't work with flatpages.

I don't want all of my site urls to redirect to include the www subdomian, just the flatpages.

Anyone know how I should go about doing this?

Thanks

© Stack Overflow or respective owner

Related posts about django

Related posts about python