Copied to clipboard

Flag this post as spam?

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


  • Mobeet 3 posts 73 karma points
    Sep 15, 2016 @ 05:18
    Mobeet
    0

    Umbraco 7.5 redirects

    Hi,

    Question about the redirects functionality built-in to 7.5.

    Does it only provide automatic redirects from node titles that have changed? Or can you also create your own redirects (for instance we have 430 redirects we'd like to implement from a site redesign).

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Sep 15, 2016 @ 06:12
    Dennis Adolfi
    0

    Hi Mobeet.

    I dont think that this is possible no, and looking at the documentation it does´nt seem like this is the purpose of the Url-Tracker. https://our.umbraco.org/Documentation/Reference/Routing/URL-Tracking/

    Whenever an incoming request is served and the default content finders cannot find a matching document, Umbraco checks whether the URL matches one of these saved URLs. If a match is found, Umbraco returns a "301 Redirect" answer pointing to the new URL of the document.

    Umbraco does not support rewriting "rules" (e.g. regular expressions) nor complex scenarios (e.g. changing the culture and hostnames configuration). There already are powerful solutions to deal what that type of situations.

    There are a few different 301 tracker packages avalible for Umbraco that you could use instead that will give you this functionallity.

    Take care!

  • Paul Seal 524 posts 2890 karma points MVP 7x c-trib
    Sep 15, 2016 @ 08:32
    Paul Seal
    0

    Hi Mobeet

    There are 2 ways which I can suggest for you to do this:

    1. The first way is to add them to the urlRewriting file http://www.codeshare.co.uk/blog/how-to-create-url-rewrite-rules-in-umbraco/

    2. The other way is to add them in umbraco http://www.codeshare.co.uk/blog/create-a-redirect-page-in-umbraco-without-editing-the-config-file/

    I hope this helps

    Paul

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 15, 2016 @ 11:02
    Richard Soeteman
    1

    Not the answer you might looking for but with SEOChecker you can import those 430 redirects using the Excel import redirect option.

    http://soetemansoftware.nl/seo-checker

    Best,

    Richard

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Sep 15, 2016 @ 14:16
    Sebastiaan Janssen
    1

    FYI: The very best and most performant way to do this is to use URL rewrite maps:

    http://www.iis.net/learn/extensions/url-rewrite-module/using-rewrite-maps-in-url-rewrite-module

  • Mobeet 3 posts 73 karma points
    Sep 15, 2016 @ 14:17
    Mobeet
    0

    Thanks a lot for all of the suggestions!

  • 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