php - htaccess - Wordpress multiple languages -


i have online store , support multiple languages store. had used htaccess control url on store. details

domain.com/product-name domain.com/de/product-name domain.com/jp/product-name 

now, have installed wordpress in /wordpress/ folder , config htaccess displays:

domain.com/features/post-title 

today, have installed wpml.org wordpress can support multiple languages url not work this.

domain.com/features/post-title (english) domain.com/features/de/post-title (german) domain.com/features/jp/post-title (japanese) 

my questions is, how urls display above urls.

finally, htaccess file:

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] 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -