---
title: How to manually deploy WordPress on Control Web Panel(CWP) Admin Panel
description: "Deploying WordPress on **CWP**manually gives you control over the setup process. This guide walks you through the step-by-step process to manually install WordPress on your CWP server. ### Prerequisites: This guide expects that you have WordPress website files locally on…"
url: "https://truehost.com/support/knowledge-base/how-to-manually-deploy-wordpress-on-control-web-panelcwp/"
updated: "2024-10-16"
category: Cloud servers in Kenya
---

# How to manually deploy WordPress on Control Web Panel(CWP) Admin Panel

Deploying WordPress on **CWP**manually gives you control over the setup process. This guide walks you through the step-by-step process to manually install WordPress on your CWP server.

### Prerequisites:

This guide expects that you have WordPress website files locally on your computer and you want to deploy them on your CWP server. If you want install fresh WordPress on the server, please check [this](https://truehost.com/support/knowledge-base/installing-wordpress-on-cwp/) guide

Before you begin, ensure the following:

- **CWP installed** on your server.
- A **domain** or **subdomain** set up on your CWP server. Here is **[how to](https://truehost.com/support/knowledge-base/how-to-create-an-addon-domain-subdomain-on-a-cwp-cpanel/)**
- A **database and user** created for WordPress. Here is[**how to**](https://truehost.com/support/knowledge-base/how-to-create-a-database-in-control-web-panel-cwp/)
- **SSH access** to your CWP server.

##### **Step 1: Log in to CWP using** [these steps](https://truehost.com/support/knowledge-base/how-to-access-cwp-main-whm-panel/)

##### **Step 2: Create a Website in CWP **, if you have not

- This is the URL where your WordPress will be displayed. You will use **[these steps](https://truehost.com/support/knowledge-base/how-to-create-an-addon-domain-subdomain-on-a-cwp-cpanel/)** to create a website

**Step 3:** **Create a MySQL Database** if you have not.

- You can check **[these steps](https://truehost.com/support/knowledge-base/how-to-create-a-database-in-control-web-panel-cwp/)** on how to do that. Ensure to save the database name, username and password. You will need them later in step 6 of this guide.

**Step 4: Compress the Files on your computer**

- You now need to compress all your WordPress files to to one file, like a .zip file or .tar.gz or any other valid compression.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-142.png)

**Step 5: Upload WordPress to the Server** 

- You can upload the compressed WordPress ZIP file using CWP's File Manager or via FTP.
- This can be done from CWP Admin or from the **[user pane](https://truehost.com/support/knowledge-base/how-to-manually-deploy-wordpress-on-cwp-user-panel/)**l

##### **Upload from CWP Main Panel**

- From the admin panel on the left side of CWP Admin, go to **File Management->File Manager** and click on File Manager

![](https://truehost.com/support/wp-content/uploads/2024/10/image-144.png)

- You will see a windows with the server's file system files. Accounts are created in **home** folder
- Click on home folder to enter it

![](https://truehost.com/support/wp-content/uploads/2024/10/image-145.png)

- You will see a list of directories for your domain accounts that you created
- Click on the directory for the domain that you want to deploy WordPress on, then go to **public_html**folder

![](https://truehost.com/support/wp-content/uploads/2024/10/image-146.png)

- While in public_html, click on upload button at the top of the window

![](https://truehost.com/support/wp-content/uploads/2024/10/image-147.png)

- You will be presented with an upload window, where you drag and drop a file to uplaod or choose the file to upload from your computer. We are uploading the WordPress zip file that you had compressed.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-148.png)

- Drag and drop or select the file to upload it. Give it time to upload
- Extract the ZIP file. close the uploaded and go back to public_html where you uploaded the file and right click on the file and select **Decompress** and confirm the decompression.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-149.png)

- After extraction, move the contents from the `wordpress` folder into the **public_html** directory (if they are not already there). In my case, I will move contents of **beadwok** to **public_html**
- Go inside the extracted folder and use the Select All option at the top of the window to select everything.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-150.png)

![](https://truehost.com/support/wp-content/uploads/2024/10/image-151.png)

- Click on **Move** option found at the top of the widow, then, in the resulting box, you will a section for New Path. Expend the boxes until you reach your new destination then click on it, then click on **Move**
- Give them time to move.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-152-1024x653.png)

**Step 6: Configure WordPress**

- Navigate to the **public_html** directory and find the file named `wp-config.php`
- Right-click and **rename** it and click on **Edit Content**

![](https://truehost.com/support/wp-content/uploads/2024/10/image-154.png)

- Find the section of the file that has database details then carefully edit them to match the database that you created in **step 3 **of this guide.
- You will edit the **DB_NAME**, **DB_USER**, DB_HOST aand also set **DB_HOST** to ***localhost***, if not set already then click on **Save Changes**.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-153.png)

**Step 7: Set Correct File Permissions**

- Ensure that the WordPress files have the correct file permissions to avoid issues with uploads, plugin installations, and updates. This will mostly be the case, if you uploaded WordPress as guided in this article.

**Step 8: Import DB file in phpMyAdmin**

- Other than WordPress files, you also have a database in .sql format, which you want to upload to the server. You can do that using **[these steps.](https://truehost.com/support/knowledge-base/how-to-import-export-a-database-on-control-web-panel-cwp/)**

**Step 9: Update home_url and site_urls in phpMyAdmin**

- Also you need to update the home_url an site_url values of your database to match your domain name/subdomain
- Go to the left side pane and find **SQL Services->phpMyAdmin** and click on your website’s database
- Locate the options table. I may be called **wp_options** or if you have a custom database prefix, it could be called different, even though it has the name **options**. In my case it is **wpte_demodb**

![](https://truehost.com/support/wp-content/uploads/2024/10/image-155.png)

- Click on the table and locate a locate rows called siteutl and home
- Click on Edit buttons besides each of them.
- Modify the URLs; delete what is there and replace with the full URLs if the domain/subdomain that has your website. I will remove **https//beadwork.co.ke** and replace wit **https://wptest.truehost.cloud**.

![](https://truehost.com/support/wp-content/uploads/2024/10/image-156.png)

**Step 10: Fix [Permalinks in WordPress](https://truehost.com/support/knowledge-base/configuring-the-wordpress-permalink-structure/) structure**

- You will need to access WordPress admin dashboard.
- If you have forgotten your logins, please reset them as **[guided here](https://truehost.com/support/knowledge-base/how-to-reset-your-wordpress-admin-password/)**
- Once logged in, Go to **Settings > Permalinks**.
- Set the permalink structure to **Postname **and click **Save Changes**
- If the permalink is already Postname. ensure to just click on **Save Changes**, anyway.

**Step** **11**. **Access your domain on your browser to see the website**

In case you face a challenge, please check with our [**support** **team**](https://wa.me/19726743814)** .**
