WP Engine

Step by step process to Defer Parsing JavaScript in WordPress via functions.php

Go to your WordPress Dashboard > Appearance > Theme Editor Select/open functions.php file (of child theme) from theme files. Paste the code snippet given below at the end of functions.php file. You can specify JS files to exclude from defer in the array (‘jquery.js’). Finally, click Update File to save changes. That’s all. // Defer […]

Shop URL’s Not Loading? Try This

define( ‘WPE_GOVERNOR’, false ); Add the above language to the wp_config.php file ——– ALSO – try messing with the permalinks

WP Engine Migration Encoding Issue

Before the migration there should be the those defines within the wp-config file so you could check to see what they are set to. I used one of the standards: define(‘DB_CHARSET’, ‘utf8’); define(‘DB_COLLATE’, ‘utf8_unicode_ci’); But you could use sftp and go to the wp-config.php file and these should be listed right below the database credentials […]

WP Engine Exclude Pages for Caching

Hey there Anthony, No problem at all! If your looking to exclude a page, you would want to do ^/PAGE/ or ^/path/to/page/ If your looking to do all of the site, you can do ^/ and that would exclude the whole site, but this is not a good idea as it will negatively impact both […]

Migrate/launch websites to wp-engine

Log into wp-engine Go to Sites > +Add site > type the name in (no spaces) and click Add Site Under Add Production > Create new > Name the environment > Click Create environment Log into wordpress admin of the site Go to Plugins Add New > install WP Engine Automated Migration > Activate the […]

SFTP Issues/Host Keys

Delete Host Key on Mac/Linux To delete your local host key, you just need to remove your “known_hosts” file, which you can do using the following command in your local Terminal window: rm .ssh/known_hosts