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
Hi,
I'm using xStatic to auto-generate static pages for my Umbraco site when something new is published. I added a 404 page not found page.
It works well when I do run the site locally but not on the site with the auto-generated pages.
Does anyone know if this should be possible? I have added following code to my appsettings.json:
"Error404Collection": [ { "Culture": "default", "ContentKey": "xxxxxx-xxx-xxxxxx-xxxx-xxxx-xxx" } ]
I solved this by functionality in iis for handling error pages. I removed the rows in appsettings.json (Error404Collection) and set url for error pages in iis (for my website) for 404 page not found error to my Umbraco error page.
Works perfect.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
xStatic and 404 not found page
Hi,
I'm using xStatic to auto-generate static pages for my Umbraco site when something new is published. I added a 404 page not found page.
It works well when I do run the site locally but not on the site with the auto-generated pages.
Does anyone know if this should be possible? I have added following code to my appsettings.json:
"Error404Collection": [ { "Culture": "default", "ContentKey": "xxxxxx-xxx-xxxxxx-xxxx-xxxx-xxx" } ]
I solved this by functionality in iis for handling error pages. I removed the rows in appsettings.json (Error404Collection) and set url for error pages in iis (for my website) for 404 page not found error to my Umbraco error page.
Works perfect.
is working on a reply...