View Issue Details

IDProjectCategoryView StatusLast Update
2335Composr non-bundled addonsGeneral / Uncategorisedpublic2016-12-08 16:41
ReporterPDStig Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary2335: Allow mapping zone:page to subdomains
DescriptionWhat 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 .
Additional InformationTechnically 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 .
TagsNo tags attached.
Attach Tags
Time estimation (hours)50
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-04-15 14:02

administrator   ~3590

Moved to Non-bundled addons, as I think this would over-complicate the core URL code and potentially create performance issues.

A better solution would be to do some kind of string replaces via a code override.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2016-03-22 06:04 PDStig New Issue
2016-04-15 14:01 Chris Graham Project Composr => Composr non-bundled addons
2016-04-15 14:01 Chris Graham Category core => General
2016-04-15 14:02 Chris Graham Note Added: 0003590
2016-12-08 16:41 Chris Graham Time estimation (hours) => 50
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised