Multiple Wordpress installations on Nginx?
I have multiple Wordpress installations on my Nginx server, meaning in my
web root folder i have 1 and then another in a folder called /en/.
On both Wordpress installs i want to use a custom permalink structure like
this:
http://domain.com/%category%/%postname%/ and
http://domain.com/en/%category%/%postname%/
The strange thing is that the "en" install works fine for the home page
like this; http://domain.com/eng/
However if i go to for example; http://domain.com/eng/test-page
I get redirected to; http://domain.com/test-page
This is what my nginx config looks like:
location / {
try_files $uri $uri/ /index.php?$args;
}
Any ideas how i can fix this?
Edit:
If i use the normal permalink structure like so:
http://domain.com/en/?page_id=568
It works just fine
No comments:
Post a Comment