How to install Wordpress in a subfolder?

August 19, 2019 247 views
WordPress Ubuntu 16.04

I have a web app in a droplet, Ubuntu 16, with phpmyadmin and mysql, the webapp works fine, but I want to install a wordpress site in a subfolder of that web app, for blogging purposes, how can I do that?

I have tried this:

  1. I have downloaded wordpress and place the files into a subfolder, like : https://webapp.com/blog physically , the web app files are in the home folder, so I have placed the wordpress files inside a folder there named “blog”. like this: /home/user/webapp/blog
  2. In PhpMyAdmin I have imported the wordpress database.

But the wordpress site doesn’t run.

Any help is appreciated.

2 Answers

Hi @GabrielVB,

Your method is correct! Basically, you can place the files in the blog folder and then load it to start the wordpress installation process.

Regarding the database, you just need to create a blank one and let wordpress import it’s files.

Please try to re-install it and let me know how it goes. If it still fails, please let me know what error do you get.

Kind Regards,
Kalin D.

Hi, its working . Thank you. Wordpress site is up and running. Apparently , the webapp was blocking somehow the folder “blog” so Ive renamed it to “b” and then the wordrpress started to work.

Have another answer? Share your knowledge.