How to Install WordPress Manually Using CPanel Print

  • Updated on 22-Dec-2024
  • 22

How to Manually Install WordPress Using cPanel

Installing WordPress manually through cPanel is an excellent way to learn about website management and get a deeper understanding of how WordPress works. Here's a straightforward, step-by-step guide to help you install WordPress on your hosting account using cPanel.

Info! Ensure you have access to your hosting account and cPanel. This guide is tailored for users of cPanel, the most popular hosting control panel.

Step 1: Download WordPress

  1. Go to the official WordPress website at wordpress.org.
  2. Click the "Get WordPress" button, then download the latest version of WordPress as a ZIP file.

wordpress download

Step 2: Upload WordPress to Your Hosting Account

  1. Log into your hosting account and access your cPanel.
  2. Find and open the File Manager, then navigate to the public_html directory or a subdirectory if you're installing WordPress in a specific folder.
  3. Click on Upload, select the WordPress ZIP file you downloaded, and then start the upload.
  4. Once the upload is complete, return to the File Manager, locate the uploaded ZIP file, and extract it. Ensure the extracted files are in the desired directory (e.g., public_html or a specific subfolder).

Filemanager

 

 

 

 

upload

 

Extract

 

 

 

 

 

Step 3: Create a MySQL Database and User

  1. Still in cPanel, scroll to the Databases section and click on MySQL Database Wizard.
  2. Step through the wizard to create a new database. Remember to note the database name for later use.
  3. Create a new database user and assign a strong password. Make sure to note down the username and password.
  4. Add the user to the database and grant all privileges.

 

 

 

 

 

 

 

 

 

Step 4: Configure wp-config.php

  1. Back in the File Manager, locate the wp-config-sample.php file within the WordPress files.
  2. Rename this file to wp-config.php.
  3. Edit the wp-config.php file to input your database details under the MySQL settings section:
    • DB_NAME - the name of the database you created.
    • DB_USER - the username you created.
    • DB_PASSWORD - the password for the database user.
    • DB_HOST typically remains as localhost unless specified otherwise by your host.
  4. Save your changes.

Step 5: Run the Installation Script

  1. In your web browser, navigate to your domain (e.g., yourdomain.com) or wherever you uploaded WordPress.
  2. If the files are correctly placed, you should be greeted by the WordPress installation page.
  3. Follow the prompts to choose your language, set up your site title, WordPress admin username, password, and your email.
  4. Click Install WordPress.

Step 6: Complete the Installation

  • Once WordPress is installed, you'll see a success message and can log in with your new admin credentials.

Step 7: Secure Your Installation

  • Adjust directory permissions: Directories should be set to 755 and files to 644.
  • Consider adding security plugins like Wordfence or iThemes Security.
  • Regularly update WordPress, themes, and plugins.
Success! Congratulations, you have successfully installed WordPress manually using cPanel!

Need Help?

If you encounter any issues, please open a support ticket here or use the LiveChat feature on our website for immediate assistance. Happy WordPressing!


Was this answer helpful?

« Back