Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 610 posts 906 karma points
    Dec 15, 2015 @ 18:11
    Fredrik Esseen
    0

    Redirect is not working

    Hi Richard!

    Im having trouble with version 1.9.1. The redirects are not working and the log says:

    "2015-12-15 17:55:44,350 [P1204/D3/T37] ERROR SEOChecker.HttpModules.UrlModule - SEOChecker: Error in PageNotFound Module System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Web.Routing.DefaultUrlProvider.GetUrl(UmbracoContext umbracoContext, Int32 id, Uri current, UrlProviderMode mode) at Umbraco.Web.Routing.UrlProvider.<>cDisplayClass3.0(IUrlProvider provider) at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func`2 predicate) at Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id, Uri current, UrlProviderMode mode) at Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id) at SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult.RenderNiceUrl() at SEOChecker.Core.Repository.PageNotFound.PageNotFoundResult.get_ValidForRedirect() at SEOChecker.HttpModules.UrlModule.(Object , EventArgs )"

    Im using Umbraco 7.3.1. Onbound broken links are registered so I know the module is running.

    Any ideas what the problem can be?

  • Fredrik Esseen 610 posts 906 karma points
    Dec 15, 2015 @ 20:01
    Fredrik Esseen
    0

    Upgraded to 1.9.3 and now its working :)

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Dec 16, 2015 @ 13:26
    Richard Soeteman
    0

    Great!

  • M N 125 posts 212 karma points
    Oct 02, 2017 @ 15:46
    M N
    0

    Howdy Richard,

    Was wondering if you were aware of any issues on 7.6 that would also prevent the 301 redirect manager from working? Just tested 2 installs and seems to fall down to the 404 page while maintaining the URL that should be redirected.

    I'm on 1.10.1 - does this rely on UrlRewriting.Net? As I think this was replaced with IIS URL Rewrite. Any work around?

    Thanks, and no rush! - fortunately we have a lot of new sites but do have some redesign/relaunches coming up.

  • Craig Mayers 164 posts 508 karma points
    Oct 02, 2017 @ 16:35
    Craig Mayers
    0

    FYI: Running SEOChecker on two live sites, both running Umbraco 7.6.1 and not experienced any issues so far!

    Thanks

    Craig

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Oct 02, 2017 @ 16:41
    Richard Soeteman
    0

    Hi Craig,

    Could it be that the url you want to redirect from was already logged as 404? Delete it there create redirect and all should be good again.

    Best,

    Richard

  • Craig Mayers 164 posts 508 karma points
    Oct 02, 2017 @ 16:54
    Craig Mayers
    0

    Think this was meant to be aimed at @M N

    Am not experiencing any issues :-)

    Cheers

    Craig

  • M N 125 posts 212 karma points
    Oct 02, 2017 @ 20:11
    M N
    0

    Hey fellas,

    Thanks for the quick response. Hmm, not sure what you mean by deleting 404 entries, or where "there" is in "delete it there", but I just added a fresh redirect for /asdfasdf -> / (root home node)

    and it still just brings up 404 page when navigating to /asdfasdf

    Thanks for confirming this does work on 7.6 Craig! Nice to eliminate potential causes.

    Perhaps I'm missing something, but we have had no issues on previous versions and have I think about 20 client sites on 7.5.x where 301's work fine. Any suggestions welcome!

    Thank you both!

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Oct 03, 2017 @ 05:09
    Richard Soeteman
    1

    If all redirects fail? Can You check if the HTTPModule is configured in web.config? The user manual https://soetemansoftware.nl/seo-checker/downloads describes how you can verify the install.

    404 entries are logged in inbound link issues overview and all other redirects can be found in redirect manager.

    Hope this helps,

    Richard

  • M N 125 posts 212 karma points
    Oct 06, 2017 @ 17:17
    M N
    0

    Thanks Richard!

    That did the trick.. For anyone else experiencing this,

    Go to SEO Checker -> Issues -> Inbound Link Errors

    Find the link that is not working in Redirect Manager and delete it, then the redirect for that link should work.

    Cheers!

Please Sign in or register to post replies

Write your reply to:

Draft