× Here you can get community support related to ReDJ.

ReDJ Redirects Problem with %3F and %3D

More
8 years 9 months ago - 8 years 9 months ago #4717 by AMNES
Hello,

I have a problem with my incoming url.

My INCOMING URL
http://DOMAIN/checkmembership.html%3Fdata%3DYToxOntpOjA7czozOiI5NjciO30%253D
and it should be forwarded so
http://DOMAIN/index.php?option=com_cardidcheck&view=cardidcheck&data=YToxOntpOjA7czozOiI5NjciO30%253D
because "YToxOntpOjA7czozOiI5NjciO30%253D" is a dynamic variable and is always different.

Sorry for my terrible english,thank you.
AMNES
Last edit: 8 years 9 months ago by AMNES.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #4718 by admin
Replied by admin on topic ReDJ Redirects Problem with %3F and %3D
Hi,
try this rule (literally):
From URL: ^/checkmembership\.html
To URL: {scheme}://{siteurl}/index.php?option=com_cardidcheck&view=cardidcheck&data={preg_match 1}/checkmembership\.html(.*)$/i{/preg_match}
Request only: true (checked)

Kind regards,
Luigi
Last edit: 8 years 9 months ago by admin.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4719 by AMNES
Replied by AMNES on topic ReDJ Redirects Problem with %3F and %3D
Hi,

thank you , but it does not work correctly
The new url
http:/DOMAIN/index.php?option=com_cardidcheck&view=cardidcheck&data=%3Fdata%3DYToxOntpOjA7czozOiI5NjciO30%253D

but should be
http:/DOMAIN/index.php?option=com_cardidcheck&view=cardidcheck&data=YToxOntpOjA7czozOiI5NjciO30%253D

the following is too much
%3Fdata%3D

Thank you for your helping
AMNES

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4720 by admin
Replied by admin on topic ReDJ Redirects Problem with %3F and %3D
Try to change as follow and let me know:
From URL: ^/checkmembership\.html
To URL: {scheme}://{siteurl}/index.php?option=com_cardidcheck&view=cardidcheck&data={preg_match 1}/checkmembership\.html%3Fdata%3D(.*)$/i{/preg_match}
Request only: true (checked)

SIncerely,
Luigi

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4721 by AMNES
Replied by AMNES on topic ReDJ Redirects Problem with %3F and %3D
Hello,

thank you.


Kind regards,
Andreas

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #4722 by admin
Replied by admin on topic ReDJ Redirects Problem with %3F and %3D
U're welcome.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.195 seconds