I have some pages in virtual folders and .htaccess rules to switch Lang and set VBET_Outside, these work great, but I also have pages that are site.com/pagename.html that do not work, they get a re-direct to the non 2 character page (default)
This rule should allow this to work
Code:
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]