Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1347 posts 1608 karma points
    Jan 09, 2018 @ 16:29
    Gordon Saxby
    0

    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

  • Daniel Chenery 119 posts 465 karma points
    Jan 10, 2018 @ 15:15
    Daniel Chenery
    0

    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?

  • Gordon Saxby 1347 posts 1608 karma points
    Jan 10, 2018 @ 15:38
    Gordon Saxby
    0

    Sorry, what do you mean by a "manual redirect"?

  • Daniel Chenery 119 posts 465 karma points
    Jan 10, 2018 @ 15:43
    Daniel Chenery
    0

    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.

        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?

  • Gordon Saxby 1347 posts 1608 karma points
    Jan 10, 2018 @ 15:50
    Gordon Saxby
    0

    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.

  • Daniel Chenery 119 posts 465 karma points
    Jan 10, 2018 @ 16:06
    Daniel Chenery
    0

    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).

  • 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.

Please Sign in or register to post replies