Copied to clipboard

Flag this post as spam?

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


  • Aleksander 45 posts 205 karma points
    Jun 03, 2019 @ 06:31
    Aleksander
    0

    umbracoRedirect in v8?

    Hi.

    In my umbraco 8 project, i've setup a content picker with the alias umbracoRedirect, as described here: https://our.umbraco.com/documentation/reference/routing/routing-properties to create internal temporary redirects. It works flawlessly in Umbraco 7, but it seems not to work in umbraco 8.

    Have any of you guys got it working ? Is it a feature they forgot / removed in 8 ?

    Cheers

  • Aleksander 45 posts 205 karma points
    Jun 03, 2019 @ 07:35
    Aleksander
    0

    Now it works - without changing anything... Not sure what happened or if me and my colleague can recreate the error.

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jun 03, 2019 @ 09:25
    Marc Goodson
    1

    Hi Aleksander

    Just had a quick look and it's still in V8

    https://github.com/umbraco/Umbraco-CMS/blob/a822e187199ded91135148c06f5dd0c93efef3fb/src/Umbraco.Web/Routing/PublishedRouter.cs#L773

    Not sure why you would see the quirkiness.

    regards

    Marc

  • Aleksander 45 posts 205 karma points
    Jun 03, 2019 @ 10:32
    Aleksander
    0

    Thanks Marc,

    I was too quick to write this post - this morning it was briefly not working, thats when i made this post.

    When i pulled in the Umbraco.Web source code it was working again, during this i had only implemented our own RoleProvider, which shouldn't affect anything - so i guess it was just a brief bug.

    But thanks anyway for replying :)

  • Jon 92 posts 166 karma points
    Dec 23, 2020 @ 13:59
    Jon
    0

    Is there a way to use umbracoRedirect with a QueryString? I would like to redirect to a search page with a search query in the URL. Is this possible?

  • Søren Mastrup 122 posts 564 karma points c-trib
    Dec 23, 2020 @ 23:22
    Søren Mastrup
    0

    I would suggest using Skybrud.Umbraco.Redirects for that.

  • Jon 92 posts 166 karma points
    Dec 24, 2020 @ 09:13
    Jon
    0

    Hi, I thought that one didn't do redirects internally. I thought it only redirected to an external URL?

    Jon

  • Søren Mastrup 122 posts 564 karma points c-trib
    Dec 24, 2020 @ 11:42
    Søren Mastrup
    0

    Oh, sorry 🤦🏼‍♂️ I read it as a 301 redirect.

  • Simon Hartfield 6 posts 88 karma points
    Feb 02, 2021 @ 12:55
    Simon Hartfield
    2

    Bit of a thread necro here but it seems that the umbracoRedirect field won't take effect until after a restart. Anyone finding this thread via Google, touch your web.config before tearing your hair out over this field not working.

  • Paul Davis 1 post 71 karma points
    Oct 30, 2021 @ 06:04
    Paul Davis
    0

    When i pulled in the Umbraco. Web source code it was working again, during this i had only implemented our own RoleProvider, which shouldn't affect anything - so i guess it was just a brief bug. advancedmd

Please Sign in or register to post replies

Write your reply to:

Draft