How to install Wordpress in a subfolder?

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 : 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.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
August 20, 2019
Accepted Answer

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.