Redirect Lost Posts In WordPress using the Requested URI

Recently I changed my post URLs to include the category before the post slug. While this is a redirect that WordPress can usually handle, I found that redirects coming from my old URL were not routing correct and this snippet fixes that issue.

Fix Vagrant Sync Issues in Dropbox

Keeping VVV in Dropbox (or other online storage/sync service) is a great way to keep code in sync. However, a problem persists when the .vagrant file changes for one machine are synced to the other. This can be solved by changing the VAGRANT_DOTFILE_PATH per machine.