# License Key Deactivation

We clearly understand that most of our customers (freelancers and creative agencies) create a website for their clients. And for one project you have to create more than one staging website. If you have used the one Purchased code for the staging website and can not register it for the primary website, follow these steps to reset the Purchase code from the staging website:

**1**. Backup/Clone the staging website files and the database.

**2**. Make a site migration. We recommend using the [Duplicator plugin](https://wordpress.org/plugins/duplicator/), to apply cloning and migration of the websites. You can find more [details here](https://stylemixthemes.com/wp/how-to-clone-a-wordpress-website/).

**3**. After the migration, walk through the site and make sure everything is displaying and functioning correctly.

**4**. Click on the **Deactivate** button in the staging site dashboard. You will receive a notification that you agree to deactivate, press the **Ok** button and **the system deletes the theme automatically**

![](https://353263333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDPE9netawUH7O_3vVu%2F-MhgpuJ5x36i1YIGhU6m%2F-MhgvZV1RZWQrYlMr3ND%2Ftheme-deactivate.png?alt=media\&token=a38cd19e-b360-4476-b6da-8c585f812ce7)

**5.** In the **dashboard** of the new website, click Activate button and go through all the steps described in the Theme Activation page:

{% content-ref url="theme-activation" %}
[theme-activation](https://docs.stylemixthemes.com/consulting-theme-documentation/installation-and-activation/theme-activation)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/consulting-theme-documentation/installation-and-activation/license-key-transfer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
