Pagecontainer: Mangle WP app URLs during load()

Fixes gh-6574