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.
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.
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!
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.WhereSelectArrayIterator
2.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 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?
Upgraded to 1.9.3 and now its working :)
Great!
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.
FYI: Running SEOChecker on two live sites, both running Umbraco 7.6.1 and not experienced any issues so far!
Thanks
Craig
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
Think this was meant to be aimed at @M N
Am not experiencing any issues :-)
Cheers
Craig
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!
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
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!
is working on a reply...