Skip to content

Instantly share code, notes, and snippets.

View zachwright's full-sized avatar
🚮
Put Litter In Its Place

Zachary Wright zachwright

🚮
Put Litter In Its Place
View GitHub Profile

WordPress Upgrade/Plugin Updates

  • Checkout new branch
  • Set up local dev site
  • If project has Composer, run composer update
  • Else manually update plugins

Updating plugins/WordPress version manually

  • add define('FS_METHOD', 'direct'); to wp-config.php
@zachwright
zachwright / ApacheWordPressSites.md
Last active March 25, 2021 17:44
Setting up Apache WordPress Sites

Apache Server WordPress Sites

Things to remember when setting up a WordPress site on an Apache server

First add url to hosts

/etc/hosts add local url to 127.0.0.1

Second add virtual host

/etc/apache2/extra/httpd-vhosts.conf add vhost config for site - If Wordpress/bedrock the path needs to be the projectfolder/web