Copied to clipboard

Flag this post as spam?

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


This forum does not allow new topics to be created, please use the v2 forum from now on.

  • Qube 74 posts 116 karma points
    Dec 06, 2010 @ 22:59
    Qube
    0

    Off-site Redirects

    My primary client uses a lot of redirects, mostly for promotional use (i.e. /promotion > /products/new-product). But the target for those redirects is not always internal. Sometimes they need www.mysite.com/promotion to go to store.mysite.com/products/new-product.

    Any chance of allowing custom redirects that go off-site?

  • Daniel Bardi 924 posts 2556 karma points
    Dec 06, 2010 @ 23:15
    Daniel Bardi
    0

    You can setup an external link doctype that has one property called url.

    Then within site navigation, check for the doctype and use the url property instead of the nodes url.

    This allows the nodes to display in navigation like all other nodes and still direct to external sites.

  • Daniel Bardi 924 posts 2556 karma points
    Dec 06, 2010 @ 23:16
    Daniel Bardi
    0

    The make it a redirect... use the template for the external link doctype to redirect to the url property.

  • Qube 74 posts 116 karma points
    Dec 06, 2010 @ 23:21
    Qube
    0

    Thanks Daniel. Believe it or not, that's actually exactly what we do today. We have a doctype called Redirect, and a custom control embedded in the template to handle it. However, for the sake of my client, it'd be great if they could manage all redirects (they think of them as one thing) in one place, such as 301 tracker. Hence the request.

  • Daniel Bardi 924 posts 2556 karma points
    Dec 06, 2010 @ 23:25
    Daniel Bardi
    0

    You could create a usercontrol on the content dashboard to show all "External Link" nodes and give them ability to add them there as well as specify the parent node for each.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 06, 2010 @ 23:37
    Stefan Kip
    0

    This isn't and won't be possible with the 301 URL Tracker.
    The 301 URL Tracker handles incoming requests, not outgoing.

    You should solve this otherwise, like Daniel suggests for instance.

  • Qube 74 posts 116 karma points
    Dec 06, 2010 @ 23:53
    Qube
    0

    Totally fine with this not being handled (the extension is awesome enough), but I'm not sure I explained myself terribly well.

    Just to be clear, I wasn't asking about handling external requests. I was hoping 301 URL Tracker could handle an internal request (within an Umbraco installation) and respond with an external redirect rather than an internal one.

    P.S. I have this "solved" already, just not in a unified, (computer illiterate) user friendly way. That's a compliment for how well the 301 URL Tracker UI works by the way :)

  • Daniel Bardi 924 posts 2556 karma points
    Dec 06, 2010 @ 23:57
    Daniel Bardi
    0

    Please describe the solution you came up with.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 06, 2010 @ 23:57
    Stefan Kip
    0

    So you'd like the following:

    1. Someone goes to /some-non-existing-umbraco-url
    2. The url is not found
    3. The 301 URL Tracker kicks in
    4. 301 URL Tracker 'knows' that /some-non-existing-umbraco-url should go to http://some-other-site.com/some-url

    Just trying to understand what you're requesting. Doesn't mean it will be implemented ;-)

  • Qube 74 posts 116 karma points
    Dec 07, 2010 @ 00:14
    Qube
    0

    Yes, that's it precisely Stefan.

    In my previous example, www.mysite.com was an Umbraco site (should have spelled that out) and store.mysite.com was hosted elsewhere, such as a Shopify or Business Catalyst store.

    Again, totally fine if isn't handled. Would just love to have all redirects handled in a single unified place. The two main reasons are (sorry I'm getting long winded):

    1. Whether it's an internal or external redirect, you still need a permanent 301 for SEO best practice (which this plugin handles admirably).

    2. 301 URL Tracker treats URLs as a unique key exactly as it should - you can't (shouldn't) have two of the same. Whether the redirect is internal or external, it'd be great if they were all in the same "pool" so that unique rule stays still in effect.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 07, 2010 @ 00:18
    Stefan Kip
    0

    Well, the problem is this would need DB changes and I can't do that to users, because there's no way I'm able to manage these changes with every upgrade.
    The 301 URL Tracker saves a NodeID with OldUrl. So if there's an old url like in your situation, where should it lead to? Where is the new url saved? It has to be a Node. So I really can't help you with this, sorry.

  • Qube 74 posts 116 karma points
    Dec 07, 2010 @ 00:25
    Qube
    0

    No problems. Thanks for your consideration! I'll mark it as answered so you can keep the forum clean :)

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 07, 2010 @ 00:28
    Stefan Kip
    0

    Haha thank you Ben :-)
    I guess you're my #1 301 URL Tracker fan ;-)

  • 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