#34396previewLink generation is broken without domain-record
Description
On pages or pagetrees without domain record the preview link generation is broken and will result in http://www.index.php urls.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.