× Here you can get community support related to ReDJ.

endless string in URL after redirect

More
8 years 5 months ago #4467 by admin
Replied by admin on topic endless string in URL after redirect
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
  • New Member
More
8 years 5 months ago #4468 by katrink
Replied by katrink on topic endless string in URL after redirect
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
  • New Member
More
8 years 5 months ago #4469 by katrink
Replied by katrink on topic endless string in URL after redirect
It stays interesting - I installed the enterprise version. Now when I click the old link
shop.pallia.net/index.php/en/product/view/2/95
I get this the first time:

www.pallia.net/de/shopindex.php/en/product/view/2/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/shop/
and the "endless loop" message in the browser.

When I click "try again", I get directed to:
www.pallia.net/de/shop

At least the persistent folks now end up in the shop, if not on the page they wanted to reach ; )

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

More
8 years 5 months ago #4470 by admin
Replied by admin on topic endless string in URL after redirect
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
  • New Member
More
8 years 5 months ago #4471 by katrink
Replied by katrink on topic endless string in URL after redirect
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.

More
8 years 5 months ago #4472 by admin
Replied by admin on topic endless string in URL after redirect
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.082 seconds