wordpress - .htaccess subdomain languages -
im running wordpress site qtranslate installed. urls displayed http://domain.com/en/ change them http://en.domain.com
how make work? qtranslate has built-in pre-domain mode, should need. change links (works), when visiting page 404 error.
in admin says "pre-path , pre-domain mode work mod_rewrite/pretty permalinks. additional configuration needed pre-domain mode!"
i got pre-path working , think im using pretty permalinks (/%category%/%postname%/), ive got no idea kind of 'additional configuration' needed.
my .htaccess looks (i think standard wp output);
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule>
i tried lot of different things found online, internal server errors or 404.
thanks in advance!
if default url starts www (like www.domain.com) translated urls en.www.domain.com.
but if try login en.domain.com, may think plugin doesn't working.
before try sure subdomains shows wordpress homepage. default settings wordpress should not redirect anywhere.
then set default url without www prefix (for ex. domain.com)
and check permalink finally
if fail @ steps, disable plugins , change theme default one.
Comments
Post a Comment