
Manually installing WordPress in cPanel involves several steps. Here’s a step-by-step guide to help you through the process:
Download WordPress: Visit the official WordPress website and download the latest version of WordPress. This will download a .zip file to your computer.
Log in to cPanel: Access your cPanel account using your hosting provider’s login URL.
Open File Manager: In the cPanel dashboard, find and click on “File Manager” under the “Files” section.
Navigate to Public_html Directory: In File Manager, navigate to the public_html directory. If you want to install WordPress in a subdirectory, navigate to that directory instead.
Upload WordPress Zip File: Click on the “Upload” button and select the WordPress .zip file you downloaded. Extract WordPress Files: After the upload is complete, select the .zip file in File Manager and click on “Extract” to unzip the WordPress files.
Create a Database for WordPress: Go back to the cPanel dashboard. Click on “MySQL Databases” under the “Databases” section.
Create a New Database: Enter a name for your new database in the “Create New Database” field. Click “Create Database.”
Create a Database User: Scroll down to the “MySQL Users” section. Enter a username and password for the new user. Click “Create User.”
Add User to Database: Scroll to the “Add User to Database” section. Select the user and the database you just created from the drop-down menus. Click “Add.” On the next screen, select “All Privileges” and then click “Make Changes.”
Configure WordPress: Go back to File Manager. Open the public_html directory (or the directory where you uploaded WordPress).
Rename wp-config-sample.php: Find the file and rename it to . Edit wp-config.php: Right-click on the file and select “Edit.”
Edit Database Credentials: Find the line define('DB_NAME', 'database_name_here');
and replace database_name_here
with the name of the database you created. Find the line define('DB_USER', 'username_here');
and replace username_here
with the database username you created. Find the line define('DB_PASSWORD', 'password_here');
and replace password_here
with the database password you created. By default, the DB_HOST value should be localhost
. If your host uses a different address, update the DB_HOST value accordingly.
Complete the Installation: Open your web browser and go to your domain name (e.g., http://yourdomain.com). Run the WordPress Installation Script: You will be greeted by the WordPress installation page.
That’s it! You should now have WordPress installed and ready to use on your cPanel. If you encounter any issues, feel free to ask for more help!
No Comments
Comment on