XE-1362: Top menu has broken links when wiki is set in domain mode.