I have setup a new instance of the SEO Checker Redirect datype (SEO Checker 1.6.1 and Umbraco 7.1.4).
Created a new property on my document type using the datatye. When I click "create redirect", enter values and "save direct" it doesn't seem to do anything.
Weird has always worked. Can you work around for now and use the redirect manager in SEO Checker. I will add this to the list of things top check out and fix.
Tried to create a new rule to redirect from top node to a homepage node (child node).
Tried with these values (quotes not included): "/", "~/", "/my-website/" (if the top node is called My Website") .. in the manual is displays trailing slash, however when I save the redirect is seem to exclude these .. e.g. "/my-website/" is saved as "my-website" ..
Ok tried your suggestion Dave did not solve this is what I am getting in the console when I click save:
error: $apply already in progress
at Error (native)
at g (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:4780)
at Object.e.$digest (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:6234)
at Object.$scope.submitRedirect (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vQXBwX1BsdWdpbnMv…JQcm9wZXJ0eUVkaXRvckNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:433:568)
at http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:13:4671
at http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…250cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:75:112
at Object.e.$eval (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:7447)
at Object.e.$apply (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:14:7554)
at HTMLAnchorElement. (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…b250cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:75:94)
at HTMLAnchorElement.x.event.dispatch (http://localhost:29947/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9q…50cm9sbGVycy92aWV3LmNvbnRyb2xsZXIuanM7&t=Javascript&cdv=1544898182:2:42030)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:12 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:11 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$applyDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:75 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 x.event.dispatchDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 y.handle
DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:16 POST http://localhost:29947/umbraco/backoffice/SEOChecker/SEOCheckerApi/SaveRedirect 500 (Internal Server Error)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:16 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 oDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 gDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$evalDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$digestDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$applyDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:75 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 x.event.dispatchDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:2 y.handle
Fiddler shows this:
HTTP/1.1 500 Internal Server Error Cache-Control: no-cache Pragma: no-cache Content-Type: application/json; charset=utf-8 Expires: -1 Vary: Accept-Encoding Set-Cookie: UMB_ 09:24:50 GMT; path=/; HttpOnly X-SourceFiles: =?UTF-8?B?QzpcVXNlcnNcd2lsbGlhbS5jb3JyeVxEb2N1bWVudHNcTXkgV2ViIFNpdGVzXGZhc3RlcnRoYW5saWdodFx1bWJyYWNvXGJhY2tvZmZpY2VcU0VPQ2hlY2tlclxTRU9DaGVja2VyQXBpXFNhdmVSZWRpcmVjdA==?= X-UA-Compatible: IE=Edge Access-Control-Allow-Origin: * Date: Fri, 24 Oct 2014 09:24:50 GMT Content-Length: 1146 {"Message":"An error has occurred.","ExceptionMessage":"Property set method not found.","ExceptionType":"System.ArgumentException","StackTrace":" at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)\r\n at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)\r\n at SEOChecker.Core.Helpers.TypeMapper.Map[T,TU](T source, TU target)\r\n at SEOChecker.DataTypes.Controllers.SEOCheckerApiController.SaveRedirect(RedirectModel model)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4()\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}
Thanks for the Fiddler trace. Weird that I didn't receive this message. It's something in the core of SEOChecker that I need to fix . Can you share the screenshot of the redirect you want to create?
That is also giving an issue on my end. But there is another issue with that approach that I will change for the next version. There should not even be a link picker and url textbox. Redirects from the data type should always redirect to the page you are editing.
In you scenario it's best to use the redirect manager.
Thats what I am using as a work around at the moment its more of a case for other members of the team (none technical) to be able to easily add a redirect on a particular page. If you are planning this for the new version thats great, I can live with the work around for now :)
SEO Checker Redirects datatype
I have setup a new instance of the SEO Checker Redirect datype (SEO Checker 1.6.1 and Umbraco 7.1.4).
Created a new property on my document type using the datatye. When I click "create redirect", enter values and "save direct" it doesn't seem to do anything.
The console returns this error:
and hightlight line 53 in /App_Plugins/SEOChecker/Redirects/redirectsController.js?cdv=39691579 :
/Bjarne
Weird has always worked. Can you work around for now and use the redirect manager in SEO Checker. I will add this to the list of things top check out and fix.
Thanks,
Richard
Tried to create a new rule to redirect from top node to a homepage node (child node).
Tried with these values (quotes not included): "/", "~/", "/my-website/" (if the top node is called My Website") .. in the manual is displays trailing slash, however when I save the redirect is seem to exclude these .. e.g. "/my-website/" is saved as "my-website" ..
/Bjarne
Have the same issue with SEO Checker Redirect datype not saving on:
Umbraco 7.1.8 and SEO Checker 1.8
Did you manage to solve?
Hi William,
What is the status in Fiddler? I can just save on that version.
Best,
Richard
Hi Richard,
I think this is the problem I mailed you about. Haven't time to test if a upgrade solves the problem yet :-)
Dave
For those experiencing this problem go to the file : /App_Plugins/SEOChecker/redirects/redirectscontroller.js
And then change the last line in the function submitRedirect from scope.$digest to $scope.$digest
Dave
Ok tried your suggestion Dave did not solve this is what I am getting in the console when I click save:
Fiddler shows this:
Hi William,
Thanks for the Fiddler trace. Weird that I didn't receive this message. It's something in the core of SEOChecker that I need to fix . Can you share the screenshot of the redirect you want to create?
Ok I will email the screenshot but basically want to use it to redirect the currrent page to an external url
Ok I will email the screenshot but basically want to use it to redirect the currrent page to an external url
Hi William,
That is also giving an issue on my end. But there is another issue with that approach that I will change for the next version. There should not even be a link picker and url textbox. Redirects from the data type should always redirect to the page you are editing.
In you scenario it's best to use the redirect manager.
Hope this explains.
Thats what I am using as a work around at the moment its more of a case for other members of the team (none technical) to be able to easily add a redirect on a particular page. If you are planning this for the new version thats great, I can live with the work around for now :)
is working on a reply...