Forums

Testing and moving directory - clarification needed (4 posts)

  1. Mike Abbott
    Member
    Posted 10 months ago #

    Newby alert ;)
    I've read what I can find in the Codex and forums on this, but I'm still unsure so I'd appreciate some further guidance.

    I plan to use WP to replace an exisiting static site.

    I think my best option is to install WP in a subdirectory:
    'www.example.com/wordpress' and develop the site there.

    Then, when development is finished I'd like to keep the core files in that subdirectory, but 'move the blog' to the root directory so it can be accessed from:
    'www.example.com'

    I don't think any of the examples in the Codex quite fit this scenario - they talk about moving the core files from the root into a subdirectory - so can someone kindly tell me what I'd need to do to achieve this?

    Many thanks

  2. songdogtech
    Member
    Posted 10 months ago #

  3. Mike Abbott
    Member
    Posted 10 months ago #

    Many thanks.
    I had read this but wasn't sure it was applicable as I was moving in the 'opposite direction' to the example given.

  4. govpatel
    Member
    Posted 10 months ago #

    Using wordpress from a directory as @songdogtech is the way to go as all you will be doing is copy index.php file in root and change line 17 with the folder name where wordpress is located.

    Change settings general so your site url is your domain name and wordpress url is location of your core files and folders

Reply

You must log in to post.

About this Topic