Allows overriding page nodes on a domain-specific basis.
- Provides an "Override" tab on node pages that removes the current domain from the node's domain access, clones the node, and publishes the clone to only the current domain.
- Copies translations of the node being overridden (if any), too, so they're considered translations of the newly created node.
- Sidesteps need to use multiple
url_aliastables (with Domain Prefix). Makes Drupal interpret the URL alias for a node that's been overridden as a path to this domain's version of the node. Example: node 1 (the node at
node/1) is published to all domains with the URL alias
contact-us. You visit the node from the subdomain "cats" and select the "Override" tab. Now a new node has been created (node 2), that's published only to the "cats" subdomain, and node 1 is no longer published to the "cats" subdomain. When you visit
http://site/contact-usyou'll see the content of node 1. However, when you visit
http://cats.site/contact-us, you'll see the content of node 2 -- node 1's override.
- Drupal 6.x
- Domain Access (domain)
- (Recommendation) URL Alter (url_alter)
Install like any other contrib module. Read more about installing modules at http://drupal.org/node/70151.
- Domain Override implements
custom_url_rewrite_inbound(), or implements it as a hook if url_alter module is installed.
- This module does nothing to transform (override) node reference fields or which nodes are selected by Views.
- When you've viewing an overridden page (e.g.
http://cats.site/contact-us), you may notice that, though your browser is at the
/contact-usURL, the node's View tab links to
/node/2(that is, directly to the overridden node). This is expected behavior. How exactly this could be changed -- what behavior would be "better" -- seems like a big, loaded question.
- There's no way to remove (or manually create) entries in the
domain_overridedatabase table. This is the database table that tracks which nodes are overrides of other nodes, and for which domain.
Error message "Fatal error: Cannot redeclare custom_url_rewrite_inbound()"
This problem may also manifest as a WSOD (white screen of death).
- Problem: There's already a module installed that provides the
- Solution: Install the url_alter module.
The Domain Override module is developed and maintained by OpenSourcery.
- Maintenance status: Unsupported
- Development status: No further development
- Module categories: Content Access Control
- Reported installs: 3 sites currently report using this module. View usage statistics.
- Downloads: 2,657
- Last modified: December 17, 2014
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.