# How to move a site away from Trellis/Bedrock? :(

**URL:** https://discourse.roots.io/t/how-to-move-a-site-away-from-trellis-bedrock/16796
**Category:** bedrock
**Created:** 2019-10-10T15:59:24Z
**Posts:** 5

## Post 1 by @richt — 2019-10-10T15:59:24Z

Unfortunately I have need to move a site away from a Trellis/Bedrock setup to a traditional shared hosting solution despite both my contact at the company and myself practically pleading with the decision maker to not go back in time :roll_eyes:

Is there a step by step guide on the best way to approach this? I’m guessing I can’t just do a db export and import into the new install?

---

## Post 2 by @alwaysblank — 2019-10-10T16:19:17Z

I’m not aware of a guide, but I would probably do the following:

- Rewrite anything that directly references a path that includes `/app` above the theme (so for instance you’d need to do a db search-replace for things like `/app/themes/theme-name` =\> `/wp-content/themes/theme-name`, `uploads`, etc, as well as your `publicPath` in `config.json`). Don’t just rewrite `/app/` because there’s an `app` in your theme too.
- If you’re using Bedrock or `.env` to set any constants that you use in your themes or plugins, move those somewhere else (probably `wp-config.php`).
- If you’re using Trellis to do any server config (i.e. rewrites), then…figure out a way to replicate those? Really gonna depend on what they are.
- Pour one out :cry:

I haven’t done much (any?) Trellis/Bedrock -\> Shared, but I have done a fair amount of Shared -\> Trellis/Bedrock. There’s not actually that much that needs to change: Trellis and Bedrock mostly wrap things to make development and deployment easier—they don’t really fundamentally change how anything works.

---

## Post 3 by @karel — 2019-10-10T21:16:39Z

I am wondering now what are the arguments that are backing up this time travelling decision …

---

## Post 4 by @MWDelaney — 2019-10-11T13:34:48Z

You can do this in a more manual, but possibly easier way than @alwaysblank suggests:

1. Set up a new WordPress site on the shared host,
2. Drag-and-drop the plugins, mu-plugins, uploads, and themes into the new installation
3. Import the database
4. Find/replace in the database using [this tool](https://github.com/interconnectit/Search-Replace-DB): FIND: `app/uploads` REPLACE: `wp-content/uploads`

And then test the site. With a typical, simpler site, this should do the trick.

---

## Post 5 by @system — 2019-11-21T15:59:27Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
