I created a 404 error page then set it to point to the page node as below in umbracoSettings.config
<errors>
<error404>1105</error404>
<!--
The value for error pages can be:
* A content item's integer ID (example: 1234)
* A content item's GUID ID (example: 26C1D84F-C900-4D53-B167-E25CC489DAC8)
* An XPath statement (example: //errorPages[@nodeName='My cool error']
-->
<!--
<error404>
<errorPage culture="default">1</errorPage>
<errorPage culture="en-US">200</errorPage>
</error404>
-->
</errors>
This was working fine locally, but then when I moved my site to a different server, I get the following error instead of my custom 404 page.
All files are exactly the same, am I missing something?
An alternative and a shameless plug :) Is to use SEO Checker http://soetemansoftware.nl/seo-checker that configures this for both Umbraco pages and other items (also with multi domain set-up)with one click.
404 error page not working
Hi,
I created a 404 error page then set it to point to the page node as below in umbracoSettings.config
This was working fine locally, but then when I moved my site to a different server, I get the following error instead of my custom 404 page.
All files are exactly the same, am I missing something?
Thanks
Hi HitTheSky,
Have you checked, that the id of the 404 page, is the right id on the server where it´s not working?
/Dennis
Hi Dennis yes I've checked and it's the same ID, both sites are pointing to the same database, just one is local and the other is on a testing server.
Hi,
Your 404 page isn't handled by Umbraco but by IIS. Could be that the extension is not .aspx. Anyway you can configure this in web.config. Here is an article that explains that https://www.stokia.com/support/misc/web-config-custom-httperrors.aspx
An alternative and a shameless plug :) Is to use SEO Checker http://soetemansoftware.nl/seo-checker that configures this for both Umbraco pages and other items (also with multi domain set-up)with one click.
http://soetemansoftware.nl/seo-checker
Hope this helps,
Richard
Comment author was deleted
Another easy way to manage your 404 pages is this plugin https://our.umbraco.org/projects/backoffice-extensions/umbraco-page-not-found-manager/ :)
Thanks for the help fellas and the suggested plugins, I'll be sure to check them out.
I've managed to fix the issue as suggested Here, I needed to add
...in Webconfig under system.webServer. I'd actually placed the above in the wrong place
Thanks
is working on a reply...