Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to disable the url tracker in v8. In v7 it was possible to set disableRedirectUrlTracking on false in the umbraco.config. This doesn't work in v8.
Does anybody has an idea how this is working in v8?
Anyone have a solution to this? I can't even see a dashboard for it any more.
UmbracoSettings.config - disableRedirectUrlTracking attribute
<web.routing trySkipIisCustomErrors="true" internalRedirectPreservesTemplate="false" disableAlternativeTemplates="false" validateAlternativeTemplates="false" disableFindContentByIdPath="false" umbracoApplicationUrl="" disableRedirectUrlTracking="true">
I thought this also but the option is not in the settings file, nor is it listed as a an option in the comments of the settings file. When i add it redirects still happen.
Also there used to be a tab under content listing all redirects and an option to disable it but that is no longer there. Where is it?
The redirects are executed by the 'ContentFinderByRedirectUrl' Content Finder implementation.
You could create a component during composition that removes this particular content finder from the content finders collection.. That would definitely stop the redirects from happening (unless the 301 instruction is cached in a visitors browser)...
So there's no out-of-the-box solution to disable it and no GUI for it? Seems like a backwards step. What if you are using a 3rd party plugin like SEO Checker as you need to be able to create manual redirects as well?
The setting is the one that Jeavon mentions: 'disableRedirectUrlTracking' in UmbracoSettings.config routing section...
... however there is something that has been missed in porting across this functionality to V8...
That setting 'will' turn off redirect tracking, eg no new redirects should be created, there is a check for the setting before handling events that track changes to the Url, so that part looks to be turned off by the setting.
However the second part, the registerring of the ContentFinder to perform the Redirects, also 'used' to check this setting:
but in porting code across from ApplicationEventHandlers to Components,
The check is no longer made:
My suggestion above is how to make it work 'until' this is reported and fixed!!
Have added a PR to address this:
so one day it might work as expected!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted