#2335 - Allow mapping zone:page to subdomains

  • By
  • Added
  • 1 view
Identifier #2335
Issue type Feature request or suggestion
Title Allow mapping zone:page to subdomains
Status Open
Handling member Deleted
Addon General / Uncategorised
Description What would be neat is if we could map certain zone:page combinations to a subdomain, and when mapped, Composr will automatically rewrite all URLs of zone:page to the subdomain.

For example, we could map domain.com/tickets (:tickets) to the subdomain support.domain.com . Whenever someone goes to support.domain.com , it would be as if they were going to domain.com/tickets .
Steps to reproduce

Additional information Technically mapping to subdomains is possible through the use of the ZONE_MAPPING config option (create empty zone and map it using ZONE_MAPPING to the subdomain of choice) and then create a re-direct from that empty zone to the zone:page (:tickets in the example above) being mapped.

HOWEVER

Composr does not support rewriting of these mappings. Therefore, even if you set up this mapping, all :tickets page references will still write as domain.com/tickets . Ideally, it should rewrite to your ZONE_MAPPING .
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated