# Johnpbloch/wordpress moved to a new configuration and WP goes missing

**URL:** https://discourse.roots.io/t/johnpbloch-wordpress-moved-to-a-new-configuration-and-wp-goes-missing/9124
**Category:** bedrock
**Created:** 2017-03-18T07:54:56Z
**Posts:** 82
**Showing post:** 45 of 82

## Post 45 by @fullyint — 2017-03-21T19:56:33Z

@MWDelaney No guarantees, but this appears to work in my tests.

### Local dev

```
# run commands in local machine Bedrock `site` dir

composer remove johnpbloch/wordpress

composer clear-cache

composer require johnpbloch/wordpress:4.7.3

# git add..., git commit..., git push...
```

### Remote server

```
# run commands in local machine `trellis` dir
# edit `production` to be your <environment>
# edit `example.com` to be your site name

ansible "web:&production" -m command -a "composer clear-cache" -u web

ansible-playbook deploy.yml -e env=production -e site=example.com -e 'project_copy_folders=[]'
```

If you have customized `project_copy_folders`, just temporarily remove `vendor` from your `project_copy_folders` and run `deploy.yml` (instead of using `-e project_copy_folders=[]` in second command above).

**Edit:** Added quotes around `project_copy_folders=[]`

---

_[View the full topic](https://discourse.roots.io/t/johnpbloch-wordpress-moved-to-a-new-configuration-and-wp-goes-missing/9124)._
