endless string in URL after redirect
-
katrink
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 day ago #4462
by admin
Hi Katrin,
could you please post the rule you created?
Thanks,
Luigi
Please Log in or Create an account to join the conversation.
-
katrink
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
9 years 1 day ago #4463
by katrink
Hi Luigi,
I tried this:
source: ^[de][en]/shopindex\.php/[de][en]
to: {scheme}://{siteurl}{pathltrim [de][en]/shopindex\.php/[de][en]}/shop/{queryfull}
Thanks,
Katrin
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 day ago #4464
by admin
Try this:
From URL: ^/(de|en)/shopindex\.php/(de|en)/
To URL: {scheme}://{siteurl}/shop/{preg_match 2}/shopindex\.php/(en|de)/(.*)/i{/preg_match}
Regards,
Luigi
Please Log in or Create an account to join the conversation.
-
katrink
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
9 years 17 hours ago #4465
by katrink
Hi Luigi,
Thank you for your help!
I tried this, and now I get the following URL:
www.pallia.net/en/shop/{preg_match 2}/shopindex\.php/(en|de)/(.*)/i{/preg_match}
So the endless loop is gone (yay!) but it's still not working properly...
Regards,
Katrin
Please Log in or Create an account to join the conversation.
-
katrink
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
9 years 15 hours ago #4466
by katrink
I just found that when I click the bad link, I get the endless string first (shopshopshop) and the warning that there is an endless redirection loop. When I then click on "try again", I get the URL with the {preg_match 2}/shopindex\.php/(en|de)/(.*)/i{/preg_match} part.
Please Log in or Create an account to join the conversation.
Time to create page: 0.188 seconds