> ## Documentation Index
> Fetch the complete documentation index at: https://kb.stablepoint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloning a Dev Wordpress Site to Domain

> [!NOTE]
>
> **How to move a developer's version of a website to its own new URL**

Building websites for clients with our flagship reseller plan is very easy to do thanks to its powerful WordPress Toolkit. But many of us don’t know what to do in a situation where you’ve built your clients website in a temporary URL and you want to now move it to its own account. How do you update URLs? How do you change hard-coded links? The WordPress Toolkit makes all of this easy to do.

**Scenario**

You’ve built a customer's website on a subdomain so you can show your customer the new website you’ve built and want to get their “OK” before moving it to their primary domain. The customer has signed off on it and is ready for you to put the website you’ve just built onto either a newly created account that is empty, or to replace the site the client currently has on their website with the copy you’ve designed. Here are the steps

1. In Enhance, log into (or ‘impersonate’) the account that holds the website you have built for your client. In this example, we have built it in [dev.reseller.com](http://dev.reseller.com).

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-yGCpRZC3Wc/d66941f8a58fe337a510f0cc680b9632ed9dadc0205aab37c20fb8f15c70100160278f1521e68470f09e5435c51d988c678f2274423f560d535973f50e9585cec816ea817412fd190882cf520cd22bb354d167a1edb60eff45510d5f2f9fdf6b2ac27abd)

2. Click their website name so you’re taking to the control panels primary page for this account. Here, you will see a ‘Clone’ button with a drop down. If the primary website does not yet exist and you’re not replacing a preexisting website, select “To a new Website”. \
   **If you are overwriting a preexisting Website, please skip over to 2B**

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-XeSB1JDNaX/84eec6cd5376513a58f66f82a3cf1c434850c8ce9f79a48a2bf139f941bfd2f9df38a3b633330d74c91b188af3fcac79f55c8f23400d3e14a249a0e8cb6951bdb949649bc51803f8390ccb0d5ffc034c16e01b9cb8392d4811c5b988f3d0b148800d2d14)

**2B**. If the client already has a preexisting WordPress website that you would like to overwrite,            you want to select “To an existing website”

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-bcr_BKW8iJ/a6da9bbbcfc85e7fa0209f2e145592374f7a5c3bace35667046083afcb8e465d16b9ab236336961ac823501f24d682bad8f4a09d20b293eda1cfd418abe15de97dd197dedd2592da2a65d9d0df7f20690cdff18d07b888cc98c88fad16e56e001328b517)

\
\
**2B.** On the pop-up, select the domain of their existing website and leave everything else as-is.  You would only exclude wp-config.php or wp-content in an event where the customer wants to keep their old data from their old site. So select the website, click “clone”. Then SKIP             step 3 and proceed to Step 4

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-cg85KpaWzb/fc8496e8186f167bde5bcd72a03bf9cf01c7aa68f74558b5e28988ffd1ebd8a3b23898e48ebe21fac5709fdadb9fe522eeec33122961769a51ce6653a07e1542869c8d5d9de5ed6dd272307f5dd774b7fc80866ff873b2ce765fcdc50b7bed1acda346d7)

3. On the popup, put in the name of the domain you would like to copy this dev copy of their website to. Make sure to have “Perform a WordPress search and replace” enabled because this is where the magic happens. The toolkit will scan and update the URL’s needed to make your WordPress website work on a different domain. Then click on ‘Clone’

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-Z5nbIpPe7T/48ef135e7c324931831e095fe5e392337cf25de995609f0fed74eaf59024a3e960f009e10709267481b0a154ddee22a5e94a1754dc76de88741160318277764fa09c44e0cfade3a3f12c6491ff9bc24bbdf8ca93ca63319291a0945d9d05667eeed45434)

4. The powerful WordPress Toolkit will now scan your WordPress website for any old database names, URLs and more so that they correctly work on the new domain for you. When it’s done, you will see “Manage Website” and will want to click it.

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-92lQYe0V5P/175e10446f402837bcab7cf99b53bde59c9e119386a42217eb197bcb5e421e40e766c4d3b58428874571c3f0c650ce442ca840db11e3d06babd156bfbd4aff658e58509f19fbb3d42afa78b7b19ff2ef01331642a08b511b34e415c54dbc99eb3eeba531)

5. That’s it! The entire website has now easily been cloned over from the development copy you were working on over to their real primary domains.

![image.png](https://codahosted.io/docs/Gx4TslKjXO/blobs/bl-6Nnmu7Malc/214eef5cb73649e1858ad23d7ed2723fb5c763c1c6e97ab48383af7ac1bd7ad55be284130c66ba77640e2ae27f72f32dd99867741d93863da6294b633b40410edeef36e978e72ae220bc35e823d387404b977fb75761560835bb0f5d7f1ac0f113e5a3ee)

> [!TIP]
>
> You can keep the old dev copy if you would like or just delete it when it’s safe to do so since everything has been copied over.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.