Configuring Gravity SMTP with Mailgun
Configures Gravity SMTP to use Mailgun via SMTP connection with a fallback option to send out PHP mailer.
Recipe
Configures Gravity SMTP to use Mailgun via SMTP connection with a fallback option to send out PHP mailer.
Create ~ with the following. Then chmod +x ~ to grant execute permissions and ~ to run. Targets images larger then 1MB.
Paste the following into terminal while connected over SSH. Now run backup <folder-name>/. Make sure to target the folder where WordPress lives like backup public/ or backup htdocs/. This will generate a full backup with a link to download it.
Create ~ with the following. Then chmod +x ~ to grant execute permissions and ~ to run. This will continuously monitor Kinsta’s access logs and show realtime activity for the top IPs. To exit press Command + C.
Injects mu-plugin deactivate-wp.php which turns off front end of WordPress. Customize header, description and message variables at the top before running. To re-enable simply remove the mu-plugin.
Generally a good idea to keep your database autoload below 1MB in size. You can see the current usage with the following. For optimizing, I recommend reviewing Kinsta’s guide:
Turn off MonsterInsights email summaries if admin user is a certain email address.
Purge Divi theme static CSS file cache
Search for a certain WordPress user. Will only respond if the account was found. Change user to either the login or email of the person your looking for.
In rare case while doing a site migration sometimes characters like “ are replaced with “. This will clean up the most common encoding issues.