Permalink issue after rollback from 5.5.6 to 4.5.1

I should also note that I looked at this one as well, and the solution didn’t work for us either: