Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When assigning a 404 page to a node that isn't in the root, the 404 redirect isn't working.
Example of content-tree:
I am trying to assign 404 pages to the language-nodes below the site-nodes.
Ok must say I haven't tried that, will do that now and update the code :)
Can confirm the issue
Could I ask you which Umbraco version you are running?
Ok scrap that I can't reproduce, so if you could give your umbraco version number that would be helpfull, tried on latest stable and on 7.3 RC
I am running 7.2.4
You might want to try adding existingResponse="PassThrough" to the system.webServer/httpErrors element of your web.config
e.g. <httpErrors existingResponse="PassThrough">
Thanks for your reply - I have tried the following:
<httpErrors existingResponse="PassThrough" />
That didn't work.
Shame :) I presume you have plenty of other stuff in the system.webServer element..?
I have! I just trimmed it down to keep it simple ;)
What are you using for redirect ? is there any property like "Internal Redirect" ?
I have installed the "Url Tracker" package(v. 3.6) by Stefan Kip and the "Epiphany.SeoMetadata" package (v. 0.2.1) by Ryan Lewis.
These are the only packages that I can think of, that could interfere with the 404 redirects.
@Soren, do you have domains set for your different sites?
Yes I have, but only on the Language nodes.
Top top Site-nodes doesn't have any.
@Soren could you try with this version https://ci.appveyor.com/api/buildjobs/sqpm4gaj4omfk3fp/artifacts/Releases/PageNotFoundManager1.5.1.zip that should take the domains into account
I tried to install the updated package. I am getting this error:
Server error: Contact administrator, see log for full details.
Failed to retrieve data for a node's menu 1445
I have tried to restart the site and uninstall the old packages before installing this version.
This is returned in my log:
2015-10-02 09:33:31,582  ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 59] An unhandled exception occurred
System.TypeLoadException: Could not load type 'Umbraco.Core.Services.IDomainService' from assembly 'Umbraco.Core, Version=1.0.5557.19139, Culture=neutral, PublicKeyToken=null'.
at PageNotFoundManager.PageNotFoundContentFinder.TryFindContent(PublishedContentRequest contentRequest)
at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
AH yes forgot to mention that you need to be running 7.3 because domain service isn't available in older versions so you'll need to upgrade
Ah okay! I'll try that.
Cool, let us know if that does the trick
@Soren any update, did that version do the trick?
Sorry for not getting back to you Tim.
I am currently not able to upgrade to 7.3.
I am running with the Optimus package and it seems to make the site crash when I try to upgrade.
Ah ok I'll take a look at why Optimus is crashing on v7.3 , thanks for the details!
Just upgraded Optimus so it works on 7.3, the latest release 1.4.0 should do the trick https://our.umbraco.org/projects/developer-tools/optimus/#
Old post... but any news on this?
Just installed the 404 package on Umbraco 7.4.0 beta (yeah... I kinda had to update due to the 301 redirect being broken on 7.3) and I'm running into the same issues as described by the TS.
Structure looks like this:
I'd really love to use it. Some packages should've been core functionality ;-)
Hope to hear from someone. Switching back to the crappy web.config solution I had in place in the meanwhile.
Update: I ended up using the normal bundling functionality in .Net.
Hi, I had the same issue. In my case the problem was the name of the 404 page. In fact the package wasn't working untill I've put the string 404 at the begining of the page name. I don't know, maybe only a lucky accident.
When using the latest version of this package I no longer have this issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted