Skip to content

Instantly share code, notes, and snippets.

@jonathantneal
jonathantneal / README.md
Last active November 15, 2021 11:34
Setting up a local SSL (HTTPS) WordPress site

Setting up a local SSL (HTTPS) WordPress site

We’re going to walk through setting up HTTPS for a local WordPress site within vagrant. For this tutorial, we’ll pretend our domain is example.local and that our site lives in ~/vagrant-local/www/example. This entire process should only take a minute or two.


First, let’s use the openssl command to create a key and certificate for our site.

@artes-visuales
artes-visuales / git
Last active August 29, 2015 14:20
Git
git init
@butlerblog
butlerblog / wp_config.php
Last active February 1, 2024 09:00
Configure WordPress #wp_mail function to send through #SMTP server https://b.utler.co/Y3
<?php
/*
* Set the following constants in wp-config.php.
* These should be added somewhere BEFORE the constant ABSPATH is defined.
*
* Author: Chad Butler
* Author URI: https://butlerblog.com
*
* For more information and instructions, see: https://b.utler.co/Y3
@jonathantneal
jonathantneal / README.md
Last active March 19, 2024 23:31
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"