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.
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.
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
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
Now it works - without changing anything... Not sure what happened or if me and my colleague can recreate the error.
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
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 :)
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?
I would suggest using Skybrud.Umbraco.Redirects for that.
Hi, I thought that one didn't do redirects internally. I thought it only redirected to an external URL?
Jon
Oh, sorry 🤦🏼♂️ I read it as a 301 redirect.
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.
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
is working on a reply...