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 http://example.com/wordpress I’m trying to get it to redirect (well, take over the domain name) to http://example2.com
my directory looks sort of like this:
http://example.com (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’ ); “
Thanks for any help you can give me!
- The topic ‘Giving WP its own directory/subdirectory Problem’ is closed to new replies.