Skip to main content

To install WordPress in a subdirectory, follow these steps:

  1. Create a Subdirectory: Using your hosting control panel or an FTP client, navigate to the root directory of your website and create a new directory. Name the directory something appropriate for your new WordPress installation, like “blog” or “wp.”
  2. Download WordPress: Go to the WordPress website and download the latest version of WordPress.
  3. Upload WordPress to the Subdirectory: Using your FTP client, upload the WordPress files to the new subdirectory you created.
  4. Create a Database: WordPress needs a MySQL database to store all your site’s content and settings. Create a new database and a user with full permissions for that database. Note down the database name, username, and password for use during the installation process.
  5. Run the WordPress Installation: Navigate to your new WordPress site by typing the URL of your subdirectory in your browser (like You should see the WordPress installation screen. Select your language, then click “Continue.”
  6. Setup Configuration File: In the next screen, click “Let’s go!”. Then you’ll need to enter the details for your newly created MySQL database and click “Submit.”
  7. Install WordPress: Now, click “Run the install.” Fill out all the fields for site title, username, password, and your email address. Then, click “Install WordPress.”
  8. Successful Installation: You should now have a working WordPress installation in your subdirectory. You can log in by going to (replace “blog” with your subdirectory name), and enter the username and password you set during installation.

Note: You should always back up your website before performing installations like this to prevent data loss in the event something goes wrong. Also, remember to keep your WordPress installation, plugins, and themes updated to the latest versions for security and stability.

Leave a Reply