I've installed the tracker and added some entries but I get the standard 404 when I browse to one of those URLs. Is there any obvious things I should check first?
I've build in some logging for these kind of situations. Please enable logging by adding an appSetting with key="urlTracker:enableLogging" and value="true" and also set umbracoDebugMode to true.
Request the old url with the query string and read the logs to get an idea why the UrlTracker didn't redirect the request.
The Url Tracker only acts when it finds a redirect entry for the URL. If it doesn't, it won't do anyting. So you can use every possibility there is to display a 404 page.
404 Error
I've installed the tracker and added some entries but I get the standard 404 when I browse to one of those URLs. Is there any obvious things I should check first?
I've build in some logging for these kind of situations. Please enable logging by adding an appSetting with key="urlTracker:enableLogging" and value="true" and also set umbracoDebugMode to true.
Request the old url with the query string and read the logs to get an idea why the UrlTracker didn't redirect the request.
I've tried this and nothing being logged or reported
Did you see the install screen when installing the package? Did it report that the Http Module was running etc.?
Fixed it by reinstalling. Can I ask how you hook up a "friendly" CMS 404 page without affecting this package function?
The Url Tracker only acts when it finds a redirect entry for the URL. If it doesn't, it won't do anyting. So you can use every possibility there is to display a 404 page.
Could you mark this topic as solved? :-)
I've upgraded from 1.5 to the latest version but this line is still in 404handlers.config. Should it be removed:
<notFound assembly="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />
As assuming its causing:
Error registering handler, ignoring. System.IO.FileNotFoundException: Could not load file or assembly 'file:///D:\sites\httpdocs\bin\InfoCaster.Umbraco._301UrlTracker.dll' or one of its dependencies. The system cannot find the file specified. File name: 'file:///D:\sites\httpdocs\bin\InfoCaster.Umbraco._301UrlTracker.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at Umbraco.Web.Routing.NotFoundHandlerHelper.InitializeNotFoundHandlers()
Yes it should be removed :-)
Thanks. Maybe add this to upgrade instructions?
Normally the entry should get removed by uninstalling the old version.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.