- Checkout new branch
- Set up local dev site
- If project has Composer, run
composer update
- Else manually update plugins
- add
define('FS_METHOD', 'direct');
towp-config.php
- locally, run
sudo chown -R www {{wordpress_root_folder}}
- Go to /wp-admin and have WordPress update the plugins and WordPress Version
- When done, run
sudo chown -R $(whoami) {{wordpress_root_folder}}
(git doesn't track file owners, but git can't commit if you don't own folder) Remove(define('FS_METHOD', 'direct');
fromwp-config.php
wp-config.php
is in.gitignore
)
Make sure to check if your site is cached!!!
- If localhost is redirecting to staging or prod after a database dump, CHECK THE BROWSER CACHE