You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When renaming a ContentTypeRoute all pages that were created with that page type return 404.
The only way to fix it seems to be to delete the pages and recreate them.
I was confused by why i was getting empty pages after renaming the route.
I didn't expect the route to be saved in the database.
That should probably be documented.
Also maybe the the route should be updated when the page is saved or maybe an update all routes button in the settings.
The text was updated successfully, but these errors were encountered:
When renaming a ContentTypeRoute all pages that were created with that page type return 404. The only way to fix it seems to be to delete the pages and recreate them.
I was confused by why i was getting empty pages after renaming the route. I didn't expect the route to be saved in the database.
That should probably be documented.
Also maybe the the route should be updated when the page is saved or maybe an update all routes button in the settings.
I had this issue the other day. I'm sure there is a more elegant/recommended approach to fixing it, however I found updating the routes in the Piranha pages table fixed the problem.
UPDATE [dbo].[Piranha_Pages]
SET Route ='/new-route'WHERE ROUTE ='/old-route'
Hi,
When renaming a ContentTypeRoute all pages that were created with that page type return 404.
The only way to fix it seems to be to delete the pages and recreate them.
I was confused by why i was getting empty pages after renaming the route.
I didn't expect the route to be saved in the database.
That should probably be documented.
Also maybe the the route should be updated when the page is saved or maybe an update all routes button in the settings.
The text was updated successfully, but these errors were encountered: