I have two environments, UAT and Production. Content is copied from UAT to Production via rsync. The content and files are identical; I have verified this.
In UAT, I have a page link in some text field /@/page/hjwkfhvkdvlya44x, and this link works. If I click it, I am redirected to that page.
In Production, I have the same page with the same link (because it’s rsynced), but there, the same link returns a /error.
Even stranger: Another permalink on that same page works, but many of them don’t. They appear the same, and the content is the same. I have no idea what is happening here
Has anyone experienced similar problems and could offer any tips?
Permalinks only resolve the UUID from the UUID cache. Please make sure that the UUID cache is populated on both ends, e.g. with syncing or Uuids::generate() | Kirby CMS
Random thought: are the two environments identical? Because, for example, one issue I sometimes stumble into is that my local dev environment treats upper/lower case differently than my actual server.
It’s a ploi with build in staging, which means it are basically 2 folders on the same server and rsync so I doubt that this can be the problem Thx for thinking along though!
doing kirby uuid:populate didn’t change anything. (also tried generate but didn’t change anything also, the pages already have a uuid)
Normally I’m good in fixing problems like this but can’t really wrap my head around this one. There’s no reason why it shouldn’t work It works locally, it works on uat, it just don’t works on prod (which is basically a site on same server as uat )