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
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
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]
by the way my sites are:
domain.com/en
domain.com/fr
domain.com/in