2012-05-09, 04:50:59
HiltoN Wrote:I've set custom permalink structure to %nondefaultlanguage%/%parent%/%slug%/
And here is my .htaccess:
RewriteRule ^/?$ index/ [R,L] # optional
...
I have default index page and several translations: index_en, index_de...
When I type http://sitename.com it redirects me to http://sitename.com/index. If I skip first rule "page not found" is displayed. Is it possible to open home page using default language (not browser language, but one specified in the settings) without any additions in url?
You could change the rule to:
Code:
RewriteRule ^/?$ index.php?id=index&lang=ru [QSA,L] # optional
...