On Oct 11, 12:24 am, Caisys <amamd...@gmail.com> wrote:
> Hi,
> I would like visitors to my site homepagewww.example.comto be
> redirected towww.example.com/en/in order to allow for translations
> in the future.
>
> What is the most efficient way?
>
> 1- Use apache mod-rewrite?
> 2- I know i could use the HttpResponseRedirect function in django but
> i felt it might be wasteful to create a view only for this purpose.
> 3- Use a response header?
>
> Thanks

Is that not what the trans tags and internationalization are for?
http://docs.djangoproject.com/en/dev/topics/i18n/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to