How to Install WordPress in cPanel Manually Step by Step

Installing WordPress manually in cPanel involves several steps, including downloading WordPress, setting up a database, and configuring WordPress files. Here’s a detailed step-by-step guide to help you through the process.

Step 1: Download WordPress

  1. Visit the WordPress Website: Go to WordPress.org.
  2. Download WordPress: Click on the download button to get the latest version of WordPress. This will download a .zip file to your computer.

Step 2: Upload WordPress to Your Hosting Account

  1. Log in to cPanel: Access your cPanel account using your hosting provider’s login URL.
  2. Open File Manager: In the cPanel dashboard, find and click on “File Manager” under the “Files” section.
  3. 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.
  4. Upload WordPress Zip File: Click on the “Upload” button and select the WordPress .zip file you downloaded.
  5. Extract WordPress Files: After the upload is complete, select the .zip file in File Manager and click on “Extract” to unzip the WordPress files.

Step 3: Create a Database for WordPress

  1. Go Back to cPanel Dashboard: Navigate back to the main cPanel dashboard.
  2. Open MySQL Databases: Click on “MySQL Databases” under the “Databases” section.
  3. Create a New Database:
    • Enter a name for your new database in the “Create New Database” field.
    • Click “Create Database.”
  4. Create a Database User:
    • Scroll down to the “MySQL Users” section.
    • Enter a username and password for the new user.
    • Click “Create User.”
  5. 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.”

Step 4: Configure WordPress

  1. Go Back to File Manager: Open the public_html directory (or the directory where you uploaded WordPress).
  2. Rename wp-config-sample.php: Find the wp-config-sample.php file and rename it to wp-config.php.
  3. Edit wp-config.php: Right-click on the wp-config.php file and select “Edit.”
    • Database Name: Find the line define('DB_NAME', 'database_name_here'); and replace database_name_here with the name of the database you created.
    • Database Username: Find the line define('DB_USER', 'username_here'); and replace username_here with the database username you created.
    • Database Password: Find the line define('DB_PASSWORD', 'password_here'); and replace password_here with the database password you created.
    • Database Host: By default, it should be localhost. If your host uses a different address, update the DB_HOST value accordingly.
    • Save Changes: Click “Save Changes” after making the necessary updates.

Step 5: Complete the Installation

  1. Open Your Web Browser: Go to your domain name (e.g., http://yourdomain.com).
  2. Run the WordPress Installation Script: You will be greeted by the WordPress installation page.
  3. Choose Language: Select your preferred language and click “Continue.”
  4. Fill in Site Information:
    • Site Title: Enter the name of your website.
    • Username: Create a username for the WordPress admin account.
    • Password: Create a strong password for the admin account.
    • Your Email: Enter your email address.
    • Search Engine Visibility: Optionally, you can check the box to discourage search engines from indexing your site (you can change this later).
    • Click “Install WordPress.”
  5. Login: After the installation is complete, you will see a success message. Click on the “Log In” button to access the WordPress login page.

Conclusion

By following these steps, you will have successfully installed WordPress manually using cPanel. This method provides you with complete control over the installation process, ensuring that everything is set up according to your preferences. Enjoy building your site with WordPress!

Hot this week

What Happens When You Quit Social Media for 30 Days

Scrolling, liking, sharing—it’s become second nature. Social media connects...

Why Do We Overthink at Night? The Science and Solutions

You’ve probably been there: it’s 2 a.m., the room...

Why Modern Relationships Don’t Last Like They Used To

Love, commitment, and long-term relationships have always been central...

How Much Money Do You Actually Need to Be Happy?

Money makes the world go round—but does it really...

Topics

What Happens When You Quit Social Media for 30 Days

Scrolling, liking, sharing—it’s become second nature. Social media connects...

Why Do We Overthink at Night? The Science and Solutions

You’ve probably been there: it’s 2 a.m., the room...

Why Modern Relationships Don’t Last Like They Used To

Love, commitment, and long-term relationships have always been central...

How Much Money Do You Actually Need to Be Happy?

Money makes the world go round—but does it really...

How Students Are Using AI to Pass Exams (And What Schools Are Doing About It)

Artificial Intelligence (AI) has transformed education in ways that...

Is AI Making People Smarter or Lazier? The Truth You Need to Know

Artificial Intelligence (AI) is everywhere. It powers your smartphone,...

Can AI Really Think Like Humans? The Truth Explained Simply

Artificial Intelligence (AI) is no longer a futuristic concept—it’s...
spot_img

Related Articles

Popular Categories

spot_imgspot_img