title: django production server i18n urls not redirecting?
body: <p>On my local server, when I go to the homepage by typing 127.0.0.1:8000 it automatically pushes me to /en/ like I want it to. </p>
  
  <p>On my production server it drops me in '/' which gives me a 404 error. Oddly enough any of the link i click on in my 404 page which still has the site header will take me to the /en/ urls and then everything works fine.</p>
  
  <p>Did I miss something here? Why isn't it redirecting me automatically?</p>
  
  <p>EDIT: forgot to add the code...</p>
  
  <pre><code>from django.conf.urls.i18n import i18n_patterns
  
  urlpatterns += i18n_patterns(
      url(r'^accounts/', include('allauth.urls')),
      url(r'^forum/', include('djangobb_forum.urls', namespace='djangobb')),
      url(r'^blog/', include('blog.urls', namespace='blog')),
      url(r'^', include('main.urls')),
  )
  </code></pre>
  
  <p>EDIT: semi solved....</p>
  
  <p>ok so after much trial and error I found that it was coming from having custom 404 and 500 templates, I have no clue why and I would really like to try and keep my custom templates... Any ideas?</p>