Correctly auto-create the page aliases (see #5765)