st4lk / django-solid-i18n-urls

[DEPRECATED] Use default language for urls without language prefix.
http://www.lexev.org/en/
Other
112 stars 29 forks source link

added options for permanent 301 redirects #26

Closed affan2 closed 8 years ago

affan2 commented 9 years ago

set SOLID_I18N_USE_PERMANENT_DEFAULT_PREFIX_REDIRECT = True if using SOLID_I18N_DEFAULT_PREFIX_REDIRECT

set SOLID_I18N_USE_PERMANENT_REDIRECTS = True if using SOLID_I18N_USE_REDIRECTS

coveralls commented 9 years ago

Coverage Status

Changes Unknown when pulling 3b858a84499261a3f86253e472f83cd79e90bab6 on affan2:master into \ on st4lk:master**.

samjacoby commented 9 years ago

Haha. I just put in a PR for the same thing!

st4lk commented 9 years ago

Mohammed, thank you for pull request! The idea to use 301 redirects in case of SOLID_I18N_DEFAULT_PREFIX_REDIRECT = True is really good, so i think it is better to do so by default. It is already done in another pull request #24 thanks to @samjacoby . I'll publish new release soon.

st4lk commented 9 years ago

24 now in pypi v1.1.0

st4lk commented 8 years ago

Closing as duplicate of #24