WordPress.org

Forums

Change folder in linux with apache and nginx (2 posts)

  1. metraon
    Member
    Posted 1 year ago #

    I recently installed WordPress on a ubuntu droplet at digital ocean and my wordpress blog is installed in the /var/www/ folder.

    I wish to change that folder because I want to have two different sites in that folder.

    Is is possible to move the installation to /var/www/wordpress without messing everything up ?

    The goal is to have something like /var/www/wordpress (Apache) and something like /var/www/myDjangoApplication (nginx)

    I dont have the domain pointing to the installation yet, so I use and installed wordpress using an IP address. I dont know if it change anything...

    Thanks

  2. ClaytonJames
    Member
    Posted 1 year ago #

    You could move it to a sub-directory: Moving WordPress

    Or, if you've just gotten started, you could empty your WordPress database tables, put WordPress in the sub-directory and then re-run the installation routine from the new location.

Topic Closed

This topic has been closed to new replies.

About this Topic