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
If you update a parent page's slug you can then access it at the new path, but you can't access any child pages at either their old or new paths. It looks as though Statamic is correctly removing the old paths from the index, but not adding the new ones. Maybe? The stache URI index isn't being updated, the child pages still have the old paths. The entry will be fetched from the repo at the old URI, however there's then an additional URI check that fails.
How to reproduce
Create a page structure like this:
/parent
/parent/child
Change the parent page's slug to parent-2.
You can now access the parent page at /parent-2, but you cannot access the child page at either /parent-2/child or /parent/child, they both 404.
Manually clear the cache and the new paths will now work.
Logs
No response
Environment
StatamicAddons: 0Antlers: runtimeStache Watcher: DisabledStatic Caching: DisabledVersion: 4.47.0 Solo
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered:
Bug description
If you update a parent page's slug you can then access it at the new path, but you can't access any child pages at either their old or new paths.
It looks as though Statamic is correctly removing the old paths from the index, but not adding the new ones. Maybe?The stache URI index isn't being updated, the child pages still have the old paths. The entry will be fetched from the repo at the old URI, however there's then an additional URI check that fails.How to reproduce
Create a page structure like this:
Change the parent page's slug to
parent-2
.You can now access the parent page at
/parent-2
, but you cannot access the child page at either/parent-2/child
or/parent/child
, they both 404.Manually clear the cache and the new paths will now work.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: