cluster Posted February 25, 2020 Share Posted February 25, 2020 There seems to be a problem when using multiple languages with the captcha protection part ... It only works when clientarea.php is used without language parameters in the URL: /clientarea.php the Captcha module is not shown when using language parameters like: /nl/clientarea.php /fr/clientarea.php my rewrite rules (installation folder is clients): #force lang fr RewriteRule ^fr/(.*).php?(.*)#(.*) /clients/$1.php?$2&language=french#$3 [NC,L,QSA] RewriteRule ^fr/(.*).php?(.*) /clients/$1.php?$2&language=french [NC,L,QSA] RewriteRule ^fr/(.*).php#(.*) /clients/$1.php?language=french#$2 [NC,L,QSA] RewriteRule ^fr/(.*).php$ /clients/$1.php?language=french [NC,L,QSA] RewriteRule ^fr/$ /clients/index.php?language=french [NC,L,QSA] RewriteRule ^fr/(.*) /clients/$1 [NC,L,QSA] 0 Quote Link to comment Share on other sites More sharing options...
cluster Posted February 25, 2020 Author Share Posted February 25, 2020 I think i have found a solution ... can i use these rewrites, are they correct & safe? RewriteRule ^en/clientarea.php(.*)$ /clients/clientarea.php?language=english [R=301,NC,L] RewriteRule ^fr/clientarea.php(.*)$ /clients/clientarea.php?language=french [R=301,NC,L] RewriteRule ^de/clientarea.php(.*)$ /clients/clientarea.php?language=german [R=301,NC,L] 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.