When creating a redirect, you have two options. "Redirect Node" and "Redirect URL".
Can you not simply pop the correct URL in "Redirect URL", rather than selecting a node?
Based on your above example, you would then have two redirects like so.
Old URL: /fr/promo
Redirect URL: /a/b/frenchpromo
Old URL: /promo
Redirect URL: /a/b/englishpromo
Or perhaps I've misunderstood something along the way?
it appears as though whichever Url you go to, you always end up at the "English" redirect.
I am not sure whether that is an issue with Url Tracker, or the UrlProvider code written to support Vorto.
There isn't a "fr" node with "promo" as a child node, there is only a single "promo" node. Vorto allows you to add content for each language on the same node.
So, it could be because the UrlProvider code is always returning "/promo" (before Url Redirect is called?) so the "French" Url Redirect never gets activated.
So, it could be because the UrlProvider code is always returning
"/promo" (before Url Redirect is called?) so the "French" Url Redirect
never gets activated.
Is there a page with the URL of "/promo"? If there is, then the URL Tracker will fail to execute.
It will only redirect when it receives a 404 response.
You can circumvent this by selecting "Force Redirect" on the create/edit redirect screen*.
*The "Force Redirect" feature was broken in version 13.4.0. Ensure you're running 13.4.1 (or an older version).
Using with Vorto
I have installed 301 Url Tracker on a site using Vorto (multi-Language).
It seems to be working OK. The "Root Node" dropdown contains all defined languages but, of course, they all point to the same node.
It would be great if we could select , say, the French Url and create a redirect specifically for that. However it doesn't work.
E.g.
mywebsite.com/fr/promo redirect to /a/b/frenchpromo
mywebsite.com/promo redirect to /a/b/englishpromo
However, both URLs currently would redirect to /a/b/englishpromo
I haven't had any experience with Vorto myself. If I get the time, I'll try and spin up a test site with it installed.
However, is there any reason you can't create a manual redirect to achieve this?
Sorry, what do you mean by a "manual redirect"?
Hi Gordon,
When creating a redirect, you have two options. "Redirect Node" and "Redirect URL". Can you not simply pop the correct URL in "Redirect URL", rather than selecting a node?
Based on your above example, you would then have two redirects like so.
Or perhaps I've misunderstood something along the way?
Hi Daniel,
it appears as though whichever Url you go to, you always end up at the "English" redirect.
I am not sure whether that is an issue with Url Tracker, or the UrlProvider code written to support Vorto.
There isn't a "fr" node with "promo" as a child node, there is only a single "promo" node. Vorto allows you to add content for each language on the same node.
So, it could be because the UrlProvider code is always returning "/promo" (before Url Redirect is called?) so the "French" Url Redirect never gets activated.
Is there a page with the URL of "/promo"? If there is, then the URL Tracker will fail to execute. It will only redirect when it receives a 404 response.
You can circumvent this by selecting "Force Redirect" on the create/edit redirect screen*.
*The "Force Redirect" feature was broken in version 13.4.0. Ensure you're running 13.4.1 (or an older version).
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.