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 have a multilingual site. English is set by default. Russian is set to Language domain: http://ru.sitename.tv
, in admin/config/regional/language/edit/ru.
When I visit sitename.tv, Boost caches to /public_html/cache/normal/sitename.tv/. However, when I visit ru.sitename.tv, boost overrides /public_html/cache/normal/sitename.tv/ with contents of ru.sitename.tv; instead of creating a separate /public_html/cache/normal/ru.sitename.tv/ directory.
How do I fix this? Can I have boost cache my site as two different sites sitename.tv and ru.sitename.tv?
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedCan you tell me which internationalisation modules you have installed ? as I am having difficultly reproducing this. The Boost contents of your .htaccess file would also be useful.
Thank you
Comment #2
timofey CreditAttribution: timofey commentedHi Philip,
There are no special modules, but I slightly patched the core (...i know) to handle subdomains differently.
Is there a way to have Boost treat ru.sitename.com and sitename.com as two different sites?
.htaccess
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedMorning, I cannot reproduce this. Do you have two settings.php, one for each domain/ subdomain using differing databases or one that gives the same website to the user? (I have spent 2 hours now so please don't think you are being dismissed). Boost relies on creating the directory structure from apache's CGI variables so there's a possibility that a rewrite, virtual host or DNS redirect entry are all responsible.
Have you tried server_name in .htaccess?