Support » Fixing WordPress » Giving WP its own directory/subdirectory Problem

  • Resolved TheFRZA


    Hello, I’m having a problem, I’m trying to install wordpress in a pre existing sub directory, but I’m also using a multi-site , meaning that I have installed it in a subdirectory of my main domain name I’m trying to get it to redirect (well, take over the domain name) to

    my directory looks sort of like this: (my main domain name)

    so i could just do ../wordpress/wp-blog-header.php’ ); right?

    I’ve done this on a previous version of wordpress fairly easy, but maybe something changed.

    In this step: “Change the line that says:
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
    to the following, using your directory name for the WordPress core files:
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );
    Save the file.””

    I’m trying to put: ” require( dirname( __FILE__ ) . ‘../wordpress/wp-blog-header.php’ ); “

    So it will go back a directory then call all the contents of the files and show up on

    Thanks for any help you can give me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey I figured it out, the code changed from

    ” require( dirname( __FILE__ ) . ‘../wordpress/wp-blog-header.php’ ); “

    to: ” require( dirname( __FILE__ ) . ‘/../wordpress/wp-blog-header.php’ ); “

    You have to add a / now.


    Sorry, RESOLVED

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Giving WP its own directory/subdirectory Problem’ is closed to new replies.