Php htaccess-Wordpress多种语言

Php htaccess-Wordpress多种语言,php,wordpress,.htaccess,mod-rewrite,Php,Wordpress,.htaccess,Mod Rewrite,我有一个在线商店,我的商店支持多种语言。我已经使用htaccess控制了我商店的url。细节 domain.com/product-name domain.com/de/product-name domain.com/jp/product-name 现在,我已经在/wordpress/folder中安装了wordpress,对它的访问显示: domain.com/features/post-title 今天,我已经将wpml.org安装到wordpress上,它可以支持多种语言,但URL不支

我有一个在线商店,我的商店支持多种语言。我已经使用htaccess控制了我商店的url。细节

domain.com/product-name
domain.com/de/product-name
domain.com/jp/product-name
现在,我已经在/wordpress/folder中安装了wordpress,对它的访问显示:

domain.com/features/post-title
今天,我已经将wpml.org安装到wordpress上,它可以支持多种语言,但URL不支持这种语言

domain.com/features/post-title (english)
domain.com/features/de/post-title (German)
domain.com/features/jp/post-title (Japanese)
我的问题是,如何像上面的URL那样显示URL。

最后,这是我的htaccess文件:

Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L,PT]
RewriteRule ^features/?$ index.php?main_page=features[QSA,L]
RewriteRule ^features/.*$ index.php?main_page=features[QSA,L]
RewriteRule ^features\?(.*)$ index.php?main_page=features?$1 [QSA,L]