Welcome! Log In Create A New Profile

Advanced

rewrite rules

March 06, 2011 05:39PM
I have to make a blog application in multiple languages, to do this, I decided to use zinnia and create to separate urls blogfrench.com and blog.com (this is an example). I also used the multisite ability of django to have a single admin interface for both blogs.

It works great, now I have a non-pythonic problem.

I want both blogs to be read with the same url:

that is, instead of

blog.com
blogfrench.com

I want

blog.com/en/weblog
blog.com/fr/weblog


So. Does anyone know where I can find help in creating rewrite rules? I have no idea how to do it (btw, I'm using nginx if that helps)
Subject Author Posted

rewrite rules

tickletik March 06, 2011 05:39PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready