Skip to content

lukasvinclav/django-redirect-to-non-www

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-redirect-to-non-www

Redirects www URL address to non-www.

Installation

pip install django-redirect-to-non-www
pip install git+https://git@github.com/lukasvinclav/django-redirect-to-non-www.git

Configuration

Open your settings file and append middleware redirect_to_non_www.middleware.RedirectToNonWww at the end of MIDDLEWARE list.

MIDDLEWARE = [
    # Other middleware classes
    'redirect_to_non_www.middleware.RedirectToNonWww',
]

About

Redirect www URL addresses to non-www

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages