As a quick "redirection" module when moving from an old to a new site, I want to add FormerUrls to pages in the new site. That works perfectly, but I cannot find anywhere how to create the WebPageFormerUrlPathHash.
Since there is a difference in how Kentico 13.x created those, I cannot figure out how to calculate it now.
Of course I check if the old url is not already available as a page in the database. I skip those.
What method should I use? (hopefully not an internal one...)
Environment
Xperience by Kentico version: [30.8.0]
Execution environment: [Private cloud (Azure)]