I have the issue that the controller of my page is still being called if the corresponding node is deleted. The controller throws an error since the model (and current node) cannot be found. After deleting a node I would expect to get an 404 error.
I've done the following things to attempt resolving the issue. Not of those resulted in a page 404.
Removed the deleted node from the trashbin
Deleted and rebuild umbraco.config
Rebuild all indexes using Umbraco -> developer -> Examine
Deleted bin, object folders and rebuild the application
Did a republish of the complete website
Updated to Umbraco V7.6.3
In my sitemap the node does not show up. It looks like the node is gone but the URL still routes to the controller.
Does anybody have an idea what the cause of this issue might be?
I had a look at the URL tracking table. So this is what I did:
I searched for all items containing "About" since this is one of the nodes which is giving problems.
I did find some items with about but non that made sense rerouting from or to this particular URL. Still I went ahead and simply deleted everything which was related to "About".
Refreshed the Umbraco backend page to make sure all records where gone.
URL of deleted node still fires controller
I have the issue that the controller of my page is still being called if the corresponding node is deleted. The controller throws an error since the model (and current node) cannot be found. After deleting a node I would expect to get an 404 error.
I've done the following things to attempt resolving the issue. Not of those resulted in a page 404.
In my sitemap the node does not show up. It looks like the node is gone but the URL still routes to the controller.
Does anybody have an idea what the cause of this issue might be?
Thanks in advance!
Hi Jeroen
Can you check URL Management section in Umbraco. Usually, you can see it in the content section of back office.
Read more here - https://our.umbraco.org/documentation/reference/routing/URL-Tracking/
Thanks,
Alex
Hi Alex,
Thanks for your quick reply.
I had a look at the URL tracking table. So this is what I did:
Still the same issue...
Did I overlook something?
Thanks in advance!
Jeroen
is working on a reply...