Support » Fixing WordPress » Install in one directory, site in another

  • Hi, I want my install to be in one location ( – which it is, but my site to be in another ( as I have a holding page up at the root ( currently.

    I have tried the process found in ‘Using a pre-existing subdirectory install’ with the following actions:
    In General:
    – WordPress Address (URL) – kept as
    – Site Address (URL) – changed from to
    In Cpanel:
    – Copied index.php and .htaccess from /install into /staging
    – Moved wp-config.php into /staging
    – Updated /staging index.php file line (‘./wp-blog-header.php’) to (‘/install./wp-blog-header.php’)

    But when done and saved I get an error page at saying wp-blog-header.php cannot be found and /install is not available either.

    I know these instructions are meant for moving into the root not into another directory (which will be done on staging completion). Does anyone have any advice on what else needs to be updated and if this is even possible?


Viewing 1 replies (of 1 total)
  • Moderator keesiemeijer



    Why not create a folder “staging” in your root folder and put all the WordPress files in there? And when done staging copy the index.php and .htaccess to the root, move your wp-config.php also and change your root index.php. What is the benefit of having a /install folder when visiting the site at
    The problem here is that your holding page is probably using index.php/html also.

    Try this:
    Switch the home and site url:
    – The “Home” setting is the address you want people to type in their browser to reach your WordPress blog.
    – The “Site URL” setting is the address where your WordPress core files reside.

Viewing 1 replies (of 1 total)
  • The topic ‘Install in one directory, site in another’ is closed to new replies.