wordpress - WPGlobus not working when using htaccess -


i have multiple wordpress-sites @ same server in subdirectories , have alias domains each of them. having trouble 1 of them. i'm using .htaccess rewriterule follows

rewritecond %{http_host} www\.firstexamplesite\.com$ rewritecond %{request_uri} !firstexamplesite/ rewriterule ^(.*)$ firstexamplesite/$1 

the problem i'm using wpglobus-plugin make site multilingual , it's working fine when using site through subfolder. example:

www.myfirstsite.com/myfirstsite/en 

but when using site directly

www.myfirstsite.com 

language swithing button doesn't work. , when i'm trying switch language directly, example:

www.myfirstsite.com/en 

i "oops! page can’t found"-page of wordpress

i'm guessing problem related .htaccess-file, not sure


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -