hendrik86
Forum Replies Created
-
If you need more infos about the error please let me know.
In my case the error still exists (I’ve updated to 2.7.2) and I till get the error “Could not create label – Das angegebene Produkt ist nicht bekannt.” for DHL Paket (national).
- This reply was modified 3 years ago by hendrik86.
In our case the shipment would be DHL Paket (within Germany).
We have the exact same issue. We’ve checked our plugin settings and contracts and we’re really confused.
Forum: Plugins
In reply to: [Redirection] Too many redirects using regular expressions on encoded URLs“I will need to investigate further in a future version, but for the moment I have no real answer.”
Hey John.
That’s fine for me.I’ve tried to use another regex and it works now.
^.*?/products/detail/.*?showUid.{1,3}=3(.*?)$
Forum: Plugins
In reply to: [Redirection] Too many redirects using regular expressions on encoded URLs“I don’t have the full URLs so I can’t really test anything”
You can, with a clean wordpress setup it behaves the same.
“if you want to match both cases then your redirects will need to handle both.”
That’s not possible, because when you enter an URL like
/?parameters%5Bkey%5D=1
as the source URL, the plugin automatically decodes the URL when you save the rule to
/?parameter[key]=1. So you cannot enter two rules here.And basically both URLs are the same, only differently encoded.
And the plugin already handles both types as one, but not for regex rules.Forum: Plugins
In reply to: [Redirection] Too many redirects using regular expressions on encoded URLsHey John,
thanks for your quick reply!
It’s quite simple; the plugin doesn’t seem to work for encoded URLs which have special characters like “[” or “]” when you use regex.1. Set the following rule:
Source URL:
^(/test/\?parameters\[key\]=1)
(regex option enabled)
Query Parameters: Exact match…
Target URL:/any-valid-url
2. Go to /test/?parameters[key]=1 (should redirect to /any-valid-url, works)
3. Go to the same, but encoded URL /test/?parameters%5Bkey%5D=1 (does not work, browser sais “too many redirects”)
Am I missing something? Is the regex wrong for the given example? How can I make the decoded and encoded URLs get to work? Is this clear enough?
Thanks a lot,
Hendrik- This reply was modified 4 years, 2 months ago by hendrik86.