Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add redirects

...

You can add lines to the pantheon.yml files to keep files such as /core/CHANGELOG.txt from being visible.

Set up domain redirects

At a minimum, you will want to redirect any non-https traffic to the https version of the site, so follow the instructions at: https://pantheon.io/docs/redirects/

Before launch, you don't want to redirect the pantheon placeholder domain to the main domain that is at aquia, so add a condition to the live environment if statement:

Code Block
  if ($_ENV['PANTHEON_ENVIRONMENT'] === 'live' && $_SERVER['HTTP_HOST'] != 'live-SITE-NAME.pantheonsite.io') {

After the site is launched, you can remove that second condition so that the pantheon platform address gets forwarded to the primary domain.

Domains

Look in the acquia site for the domains that are linked to their current site, and recreate any needed ones on the pantheon side.

...