Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,221 of 9,224 pages
About the help in other languages
All help pages

Links between department sites

Why links from one department site to content of another can point into the wrong site, how the ezurlmultisite extension makes ezurl produce the address of the site that serves the content, and how to configure and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/building/multisite/links-between-department-sites.md

On this page

Links between department sites

This page is for administrators and site builders of an installation where one content tree serves several sites. A page of one site that lists content of another (a tag page, a search result, a related item) can otherwise produce addresses that do not exist (Links to content of another site).

Contents

  1. The problem
  2. The fix: ezurlmultisite
  3. Configuration
  4. Checking

The problem

Each site hides its subtree's path with PathPrefix. A node of another site keeps that site's path in its URL alias, and ezurl puts the current siteaccess in front, giving an address that answers "not found".

The fix: ezurlmultisite

The extension ezurlmultisite (required by the root composer.json) makes ezurl and the media theme's link operators give the address on the siteaccess that serves the content. Links within the current site, module links, files and every link made on a siteaccess that does not take part (all administration siteaccesses included) stay as they were. It costs no database query per link.

Configuration

settings/override/ezurlmultisite.ini.append.php, [MultisiteSettings]:

KeyMeaning
SiteAccessList[]the sites, in order of preference
RootNodeList[<siteaccess>]=<node id>the root node of each site's subtree

Without the file, the public siteaccesses with a PathPrefix take part, each with the node of its content.ini RootNode or of its IndexPage.

Checking

On site A, open a page that lists an item of site B (a search for it, a tag page); the link must point to site B's host and open the item. Check also the language versions.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x