Nginx+Multi-Language Wordpress

Status
Not open for further replies.

mohammad.983

Verified User
Joined
Jun 26, 2015
Messages
35
Hi guys.
I installed Multi-Language WordPress in a Nginx server.
in the last step it shows some code for httpaccess
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
how can I convert them for Nginx? I have to put them on "Custom HTTPD Configurations" in Admin panel ?

by the way my sites are:
domain.com/en
domain.com/fr
domain.com/in
 

mohammad.983

Verified User
Joined
Jun 26, 2015
Messages
35
the problem is solved.
I used this guide

Code:
http://www.itworld.com/article/2871918/how-to-configure-nginx-for-wordpress-multisite-with-subdirectories.html
 
Status
Not open for further replies.
Top