# License Renewal

Follow these steps to renew your license.

{% hint style="danger" %}
After purchasing a new license, **make sure** to upload the updated archive with the [license](https://premiumexchanger.com/ulicense/) to the server using the <mark style="color:green;">**user created for the site**</mark> (not <mark style="color:red;">**root**</mark>!) over the existing license files. Without this step, the previous license will remain active for the site.\
\
Please note that the license files must **always** match the version of the script installed on your server (the script version is displayed on almost every page in the admin panel at the top left corner above the logo).\
![](https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-64ba06a00090028979f55ae9b3258304693a55bd%2Fimage%20\(1934\)_eng.png?alt=media)

If you do not have access to the admin panel, you can check the script version by opening the file located at `wp-content\plugins\premiumbox\premiumbox.php` on the server; the version will be indicated in the first few lines.

<img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-64436ae1231eee34a5ad6f80e8d78ba1357258dc%2Fimage%20(2005)_eng.png?alt=media" alt="" data-size="original">
{% endhint %}

{% hint style="danger" %}
If you upload license files from a different version of the script, the site will stop working until the correct archive is uploaded.
{% endhint %}

## Purchasing (Renewing) a License

1. Go to the "[**Your Licenses**](https://premiumexchanger.com/ulicense/)" section.
2. Under the domain name for which you want to renew the license, click the "**Renew**" button.

{% hint style="info" %}
You can change the domain name in the license no earlier than 24 hours before the current rental period expires.
{% endhint %}

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-853c10957c9dd31b7f9806cdf9cb892c5e183670%2FScreenshot_11%20(1)_eng.png?alt=media" alt="" width="514"><figcaption></figcaption></figure>

3. Select the number of months for the license renewal.\\

   <figure><img src="https://github.com/armydrawer/premium-translate/blob/main/en/.gitbook/assets/%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(96)_eng.png" alt=""><figcaption></figcaption></figure>
4. Proceed to payment and complete your order.
5. Return to the "[**Your Licenses**](https://premiumexchanger.com/ulicense/)" section. Click the "**Download for version X.X**" button, where X.X is your script version. You can find the current version of your script in the site management panel under the "**Plugins**" section or through the file manager in the file `/wp-content/plugins/premiumbox/premiumbox.php` *(н*а your computer will download the archive `license.zip`*)*\\

   <figure><img src="https://github.com/armydrawer/premium-translate/blob/main/en/.gitbook/assets/%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(51)_eng.png" alt=""><figcaption></figcaption></figure>
6. Upload the downloaded archive *`license.zip`* to the root folder of your site (usually the folders `public_html`, `www`, or `docs`) and make sure to extract the archive.

## Uploading the license.zip Archive to the Root Folder of the Site on a Server Managed by ISP Manager

{% embed url="<https://youtu.be/s1j_8mhjmrM>" %}

1. Log in to your server in ISP Manager using the <mark style="color:green;">user created for the site</mark>.\
   You can do this in two ways:

* **Option 1** — log in directly as the <mark style="color:green;">user created for the site</mark>\
  ![](https://github.com/armydrawer/premium-translate/blob/main/en/.gitbook/assets/image%20\(512\)_eng.png)
* **Option 2** — log in as the <mark style="color:red;">root</mark> user, then go to the "**Sites**" section, select the necessary site, and click the "**Log in as Owner**" button.\
  After these steps, you will be logged in as the <mark style="color:green;">user created for the site</mark>.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-7d8549794aafd78a8380f2cb016d05d121cbd69d%2Fimage%20(998)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the "**File Manager**" section, open your site's directory: `https://`*`your_domain_name/`* and click the "**Upload**" icon. Wait for the file to upload.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-ae4f4efd0154c652ccc76cddb3eee6734e661843%2Fimage%20(903)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Click the "**Select File**" button. Locate the previously downloaded archive `license.zip` on your computer and click the "**OK**" button.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-e5b28c14033ccb93b96951e97fecb759a17077cb%2Fimage%20(1197)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Select the `license.zip` archive and extract it by clicking the "**Extract**" icon.

<figure><img src="https://3137668309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwgP5ZE7DnnlT9DQMSCQz%2Fuploads%2Fgit-blob-8b874e4a6d60f55c44c43d89d16515648f36873b%2Fimage%20(985)_eng.png?alt=media" alt=""><figcaption></figcaption></figure>
