Copied to clipboard

Flag this post as spam?

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


  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 16:06
    SinkyPars
    0

    301 Redirects (301 URL Tracker)

    Hello,

    Using the popular 301 URL Tracker package with Umbraco 7.3 seems to break. We are getting the error below:

    [NullReferenceException: Object reference not set to an instance of an object.]
       Umbraco.Web.Routing.DefaultUrlProvider.GetUrl(UmbracoContext umbracoContext, Int32 id, Uri current, UrlProviderMode mode) +208
       Umbraco.Web.Routing.<>c__DisplayClass3.<GetUrl>b__0(IUrlProvider provider) +28
       System.Linq.WhereSelectArrayIterator`2.MoveNext() +66
       System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +94
       Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id, Uri current, UrlProviderMode mode) +169
       Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id) +15
       umbraco.library.NiceUrl(Int32 nodeID) +53
       InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) +1328
       InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) +21
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
    

    Is anyone else having this issue?

    This package seems to have been discontinued. Does anyone have any other suggested packages?

    Many thanks,

    Scott

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 16:19
    SinkyPars
    0

    Ah... Just seen there was an update to the package an a warning about 7.3.*

    Update to 7.4 to get the URL 301 Tracker working again.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jan 05, 2016 @ 16:44
    Stefan Kip
    0

    Exactly :-)

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 16:48
    SinkyPars
    0

    It's a shame. Our client will not want to be on a BETA :(

    Is there any work around we can do in the source?

    Thanks,

    Scott

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jan 05, 2016 @ 16:49
    Stefan Kip
    0

    Nope, no work-around at all. Stick with 7.2 as long as 7.4 isn't final.

  • SinkyPars 132 posts 175 karma points
    Jan 05, 2016 @ 16:50
    SinkyPars
    0

    Ok, thanks kipusoep.

    Scott

  • nehakakar 15 posts 85 karma points
    Jun 30, 2023 @ 13:17
    nehakakar
    0

    The error you're encountering with the 301 URL Tracker package in Umbraco 7.3 appears to be a NullReferenceException. It's possible that the package is not fully compatible with your Umbraco version. Since the package seems to be discontinued, I recommend exploring alternative URL redirect packages available for Umbraco, such as Redirects for Umbraco or UrlRewritingNet.UrlRewriter.

  • nehakakar 15 posts 85 karma points
    Jul 11, 2023 @ 09:43
    nehakakar
    0

    This is likely due to compatibility issues or an outdated version of the package. Check on SEO analysis tool, SEO Checker also includes a redirect manager feature. It allows you to set up and manage redirects, track broken links, and improve your website's SEO. You can find it on the Umbraco Package repository. You can verify all of your url on this RedirectChecker.com tool to get all possible redirection chain detail with url header.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Jul 11, 2023 @ 10:04
    Stefan Kip
    0

    Hi nehakakar,

    Maybe you could put your efforts in recent and relevant topics instead of questions asked 7 years ago? Thanks.

  • nehakakar 15 posts 85 karma points
    Jul 11, 2023 @ 12:46
    nehakakar
    0

    Hi Stefan, ok sure thank you

Please Sign in or register to post replies

Write your reply to:

Draft