Jump to content

captcha not shown when using lang parameter


cluster

Recommended Posts

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]

 

Link to comment
Share on other sites

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]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated