Created
January 18, 2021 23:25
-
-
Save jbd91/085fb7f7949ad17e6e521c5145c198c3 to your computer and use it in GitHub Desktop.
Pantheon Avada broken CSS file issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This error occurred when transferring the Avada theme from an external host to pantheon. There was a MIME type error followed by a 404 on the homepage. I believe the random string pantheon uses for file struture differed from the other pages of the site. | |
Make sure WP_cache is off and added the addition if statement below to fix. | |
//define('WP_CACHE', true); | |
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) { | |
define('FS_METHOD', 'direct'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment