Knowledgebase: Domains & DNS
Move WordPress Out of a Subdirectory
Posted by on 29 August 2012 07:58 AM

Note: this guide can help you move your WP out of any kind of subdirectory, not just the Softaculous default "wp".

By default, Softaculous will install your WordPress into a subdirectory called 'wp'. In order to move it up one level or to any other subdirectory, you will need to perform a few simple tasks that will involve editing the database.

To get started:

  1. Log into your WordPress dashboard

  2. Navigate to Settings, and then the General section

    There will be two settings shown: 'home' and 'site URL'.

  3. Change both of these options to your new URL

  4. ​Log in to your cPanel for the account in question

  5. Click File Manager and open it for the web root for the domain in question OR the main 'public_html/' directory, depending on where WP is installed

  6. Navigate into the directory in which WordPress currently resides

  7. Click Select All, located above the file list

  8. Click Move File, located in the main command bar

  9. Type the path the WP files should be in and click 'Move File(s)' (if it is the main domain public_html directory, please leave it as 'public_html/')
    Note: steps 4 to 6 can be done via FTP if you are familiar with how it works. You would just move files around in it to the same place you would in the File Manager.

This should be done now! Please note you can submit a support ticket at any time if anything seems unclear or you are experiencing any difficulty.

(4 vote(s))
This article was helpful
This article was not helpful

Comments (2)
Seth Sokol
27 December 2012 04:33 PM
It's a good start, but not complete. For me, this broke several things and I think more changes are required than those listed here.
Seth Sokol
27 December 2012 04:48 PM
The missing info is that in the "wp-config.php" file mentioned, one also has to change the Path to Current Site setting on line 88.
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion
ERROR: This domain name (kb.asmallorange.com), does not match the domain name in the license key file help.asmallorange.com.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com