SSL install

On WP Engine

Video Thumbnail
Installing SSL on WP Engine
On WP Engine Update entries in database Will replace all urls without www. captaincore ssh <site> --script=apply-https Will replace all urls with www. captaincore ssh <site> --script=apply-https-with-www Locate potential entries within wp-content files via SSH SSH into server and change

Update entries in database

Will replace all urls without www.

captaincore ssh <site> --script=apply-https

Will replace all urls with www.

captaincore ssh <site> --script=apply-https-with-www

Locate potential entries within wp-content files via SSH

SSH into server and change directories to WordPress home folder

function anchor_find_http {
  read -p $'\e[31mDomain\e[0m: ' domainname
  grep --line-number --recursive "http://$domainname" wp-content/ | awk '{ print $1 }'
  grep --line-number --recursive "http://www.$domainname" wp-content/ | awk '{ print $1 }' } anchor_find_http

WP Engine Let’s Encrypt force workaround via Chrome DevTools

domain = jQuery('.col-xs-8.form-control-static ul li:first').text();
jQuery('div.col-xs-8.form-control-static:last').html('<div class="checkbox"><label><input type="checkbox" name="domain_names[]" id="domain_names_" value="'+domain+'" class="domain-checkbox">'+domain+'<div class="help-block-inline"> — Has a Let\'s Encrypt certificate expiring in 90 days</div></label></div><div class="checkbox"><label><input type="checkbox" name="domain_names[]" id="domain_names_" value="www.'+domain+'" class="domain-checkbox"> www.'+domain+'<div class="help-block-inline"> — Has a Let\'s Encrypt certificate expiring in 90 days</div></label></div>');