drupaltransylvania / drupal-community-cluj

GNU General Public License v2.0
2 stars 8 forks source link

Change .htaccess redirrects #255

Open danielpopdan opened 7 years ago

danielpopdan commented 7 years ago

Acquia cloud dev environments htaccess are redirecting wrong. That's because you're redirecting requests to a www subdomain in .htaccess, and there's we don't make DNS entries for www subdomains of development domains. Instead of redirecting every request, redirect just based on what domain is being requested, that is, the production domain: https://docs.acquia.com/acquia-cloud/manage/htaccess#www (especially the second block of code) documents this.

See https://insight.acquia.com/support/tickets/383760