Categories
Blog Tutorials

Setting up ngrok and VVV to share your local WordPress environment with the world

If you build WordPress sites, chances are you either know about VVV or are using it. If not, go ahead and get it set up! It is (in my opinion) the best way to handle local site development. Forget MAMP- the future is now. Alright, enough about that. If you’re here it’s most likely because […]

Categories
Blog Tutorials

Whitelisting domains for WordPress CORS

This quick tip will share some code for how you can whitelist domains in WordPress to allow for Cross Origin Request Sharing (CORS).

Categories
Blog Tutorials

How to get email working with Vagrant and MailCatcher

Recently I needed to send emails locally. My local dev environment uses Vagrant, so I researched some options and tried installing MailCatcher. I was able to successfully install MailCatcher and run it locally, however I couldn’t access it from my host machine. If I used curl on my virtual machine I could see the HTML for MailCatcher, […]

Categories
Blog Tutorials

Fix for Vagrant not detecting existing VM

Recently, I had to restart my Vagrant to apply some changes. When I went to vagrant  up, a scary thing happened: vagrant started to download the entire box over again. Vagrant wasn’t detecting my existing box! Not only is this inconvenient if you have specific configurations you made to your Vagrant after the initial install, but […]