![]() If you have done everything as mentioned above then just the task which left is the installation of the WordPress. In this way, you will assign the user to your database with all permissions. As soon as you click on Add button you will get a privilege screen from where select – All privileges checkbox and then click on Make Changes button. Now click on the User drop-down box and select your newly created MySQL user and from Database select your created database and click on Add button.ĥ. When you scroll down further you will see a section Add User to Database. For adding a new users click on Create user button.Ĥ. After typing some name, click on Create Database button.ģ. Now scroll down and from MySQL users create a new user by giving Username and password. From the Database under the Create New Database box type some name you want to give to your new database that going to be used for the newly created WordPress instance present in the subdirectory. From the CPanel of your hosting, click on the MySQL databases.Ģ. In our case it is Wp and in your, it will show whatever name you have given to your Subdirectory.ġ. Once you click on the MOVE option a Move window will open with a path /public_html/Wp/ WordPress delete the WordPress text from the path so that we can move all files and folders to our created subdirectory. Select them all… Now select the move option from the File menu or just right and select the Move. Open it and you will see all installation files and folders. Once it is extracted you will see a WordPress folder. When you click on upload a new window will open from where just click on the Choose File button and upload the WordPress zipped file.Īfter uploading, select the extract option either from the file manager menu bar or right-click on the WordPress.zip folder and Extract it. Click on it and upload the downloaded WordPress.zip folder.Ĥ. It will appear on the top of the menu bar. Open the newly created folder in Cpanel File Manager and find the option Upload. Go to and click on the download button.ģ. Inside your newly created directory or folder which is empty right now need to upload the WordPress files to install it on your new website.Ģ. Step 3: Upload WordPress installation Files to Subdirectoryġ. If you are using some FTP client then just need to right-click and select the option “ Create directory“. Here in this tutorial, we have created with a name of Wp this means our new website subdirectory URL will be /wp. For example, if you want to create / blog then the folder name will be a blog. Click on that and create a folder or subdirectory with a name that you want to give to your new website. To create a new folder you will find an option called Folder. If your main or parent website is on WordPress then you will see all your WordPress files and folders there.Ģ. Now, you need to select the root folder of your main website, which usually resides under /public_html/ folder. From the Cpanel select the File Manager option and you will see all your hosting files and folders. Step 2: Log in to Cpanel and open File Managerġ. Here in the tutorial, we are using the CPanel because we also need to create a separate database. To create a Subfolder or directory, either you can log in to your web hosting CPanel to access File manager or just use an FTP client like FileZilla to connect the WordPress hosting. How to install WordPress in a subdirectory to root Step 1: Create a Subdirectory If you want to start a blog on your existing parent domain website as a subdomain then the URL structure will be .įix s Problem from WordPress subdirectory. Generally, your main domain is in the form of but to run multiple websites, let’s say WordPress based blog on your existing domain then you need to go for one of the below-given options: The core difference between the installation of WordPress in Subdirectory and Subdomain is the URL structure. Now the question is, what is the difference between Subdomain and Subdirectory WordPress installation? Here, today in this tutorial we will let you know, how to install a new WordPress instance in a Subdirectory without messing up with the parent or root domain. Installing the second WordPress in a subdirectory not only gives you a way to start a new niche website or blog under the same domain name but also helps in boosting your new WordPress website ranking. The core benefit in both cases is your root domain will be the same. People who want to run multiple WordPress instances without changing the root domain can go either for the Subdomain or Subdirectory method. Installing WordPress in a Subdirectory is very easy like setting up a new WordPress based website on your Subdomain What you need is just a bit of understanding of the technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |