Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was wondering if anybody could help me out.. Here is a site with 2 languages ("a" and "b") and the language detection method is based on domains so the 2 languages available on different domains: a.com and b.com.
I would like to map the files with the CDN module to cdn.a.com if the site's language is "a" and map the files to cdn.b.com in case the site"s language is "b". How is it possible?
Comments
Comment #2
Wim LeersWhy do you want this? Is it purely cosmetic?
Comment #3
kepesv CreditAttribution: kepesv commented2 languages runs on different brand names and the brand name is the domain.. I don't want to make clear the relationship between the sites.
I know that I could choose a third domain name or keep the ID.cloudfront.net name but it would be more professional if I could make different mapping to different languages.
Comment #4
Wim LeersUse https://www.drupal.org/project/domain:
Comment #5
Wim LeersComment #6
Wim Leers