Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I have directly copied the content of .htaccess file from the WordPress MultiSite Netword Network Administration docs for WordPRess WordPress version 3.5 and higher.

⚠️ Important: Note line 7 in .htaccess where it adds a trailing slash to the wp-admin. If we don’t do this, the subdirectories as well as their wp admin will not load!

Configure WordPress

Since we're using Pantheon, we'll use wp-config-local.php instead of wp-config.php:
Add wp-config-ddev.php to .gitignore.
Remove any database connection settings from wp-config-local.php.
Add the following to the bottom of wp-config-local.php:

...