endless string in URL after redirect
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 14 hours ago #4467
by admin
Hi.
Sorry but I didn't realise that you are using the community while preg_match is available in enterprise.
I will try to change the rule to work with community as well.
Sincerely
The following user(s) said Thank You: katrink
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 14 hours ago #4468
by katrink
Hi Luigi,
never mind - I'll get the enterprise version in that case!
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
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 3 hours ago #4470
by admin
Hi and thanks for subscription.
Sorry but I forgot to escape the literal slashes in my rule. Try this (tested):
From URL: ^/(de|en)/shopindex\.php/(de|en)/
To URL: {scheme}://{siteurl}/shop/{preg_match 2}/shopindex\.php\/(en|de)\/(.*)/i{/preg_match}
Request only: true (checked)
Let mw know...
The following user(s) said Thank You: katrink
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
-
-
8 years 11 months ago #4471
by katrink
Hi Luigi,
I think I found the source for the endless redirect - I had set a server-side redirect from the old subdomain shop.pallia.net (which is not needed anymore) to
www.pallia.net/shop and that seems to have broken stuff.
I've now made a new redirect rule in the server (I have to set the subdomain and it has to go somewhere), so everything that was shop.pallia.net now goes to
www.pallia.net/weiterleitung/ and it works without the endless loop.
Now if I can figure out how to change the rules you made for me to the new scheme, it should finally work!
Cheers,
Katrin
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 11 months ago #4472
by admin
Ok,
let me know if you still have problems and we will fix finally.
Sincerely,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds