• I tried searching and I can’t find anything on it. So it’s either I’m using the wrong keywords, or I’m just mega tired to search through all those threads.
    Anyway, I just wanted to know how to install WP in its own directory and then have the index file in the main directory. I found a tutorial on it with b2, so I just wanted to know what files I’m supposed to be editing and what parts in the index file do I need to change so it can point to the directory where I installed WP. Help? ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • move the index file into the base folder and change all of the lines that start with require( to include the directory. ie, if your directory is “/wp” change
    require(‘wp-blog-header.php’);
    require(‘wp/wp-blog-header.php’);
    (notice there is no slash at the beginning.)
    The other option would be to put an index.php in your base directory that automatically redirects to /wp/
    <?php
    header(“Location: https://www.yoursite.com/wp/&#8221;);
    exit;
    ?>
    -Andrew
    https://forever.chronolink.net/

    Thread Starter fifteen

    (@fifteen)

    Don’t I need to edit anything in the wp-blog-header.php? The b2 tutorial says something about editing the b2admin.php file and other stuffers, so I was wondering what other files I have to edit so this’ll work.

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