cluster Posted December 22, 2022 Share Posted December 22, 2022 I'm trying to integrate my multi language setup from v7.10 into my 8.6 DEV installation, something does not work as it should with the rewrites ... or are there any restrictions in 8.6 ? need help #force lang en RewriteRule ^en/?(.*)?$ ./$1?language=english [L,QSA] RewriteRule ^en/(.*).php?(.*)#(.*) /$1.php?$2&language=english#$3 [NC,L,QSA] RewriteRule ^en/(.*).php?(.*) /$1.php?$2&language=english [NC,L,QSA] RewriteRule ^en/(.*).php#(.*) /$1.php?language=english#$2 [NC,L,QSA] RewriteRule ^en/(.*).php$ /$1.php?language=english [NC,L,QSA] RewriteRule ^en/$ index.php?language=english [NC,L,QSA] RewriteRule ^en/(.*) /$1 [NC,L,QSA] #force lang fr RewriteRule ^fr/(.*).php?(.*)#(.*) /$1.php?$2&language=french#$3 [NC,L,QSA] RewriteRule ^fr/(.*).php?(.*) /$1.php?$2&language=french [NC,L,QSA] RewriteRule ^fr/(.*).php#(.*) /$1.php?language=french#$2 [NC,L,QSA] RewriteRule ^fr/(.*).php$ /$1.php?language=french [NC,L,QSA] RewriteRule ^fr/$ index.php?language=french [NC,L,QSA] RewriteRule ^fr/(.*) /$1 [NC,L,QSA] now w/ v8.6 it works only for the cart view e.g. /fr/cart.php?a=view > OK /fr/announcements > 404 - Page Not Found 0 Quote Link to comment Share on other sites More sharing options...
lukasz050495 Posted November 1, 2023 Share Posted November 1, 2023 +1 @cluster did you resolved those problems for v8.6 ? I am facing the same problems as you right now, don't know how to proceed, I think WHMCS rewrite rules it's rewriting this rules. 0 Quote Link to comment Share on other sites More sharing options...
JCG Posted January 31 Share Posted January 31 Also facing the same issues with v8. Seems all index.php pages (including homepage) are broken and do not work with these rewrites. Did anyone figure out a workaround for this? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.