Support » Installing WordPress » 1.5 Different Directory Location (tip)

  • I just upgraded to 1.5. My main index.php file is in the site’s root directory, and all my wordpress files are in a subdirectory. Like this: [root directory] [standard wp directory]

    How I got the new 1.5 index.php to work:

    1. I copied the index.php file from the /wp/ directory for use in the root directory.
    2. Edited the new [root directory] index.php:

      Where it used to say: require('./wp-blog-header.php');

      I changed it to read: require('./wp/wp-blog-header.php');

      The addition of the wp/pointed to the proper location for all the files. Where there had been tons of ugly error messages, there is now beautiful blog.

    I figured that other people might be wondering how to do that. (now on to fix other things)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thank you very much for this. I had tried to fix it like this, but forgot the leading slash!

    I’m trying to do the exact opposite though…
    have all of WP run in another spot (not the main page or directory / root)
    I want the blog to be a site place to visit, not the dominating feature
    Do you know how to install it in another location?
    When I do, I have server problems for installation , etc etc
    It can fully be installed in the root directory, but then that creates an issue with my main website page…..eeeee
    any help would be appreciated

    Moderator James Huff


    Volunteer Moderator 🚀

    I already answered your question in your own topic:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘1.5 Different Directory Location (tip)’ is closed to new replies.