Support » Installing WordPress » wp-load.php with clean svn install and symlinked core

  • Guten Tag! 🙂

    I’d like to host several blogs on one server an have the possibility to move them around between different servers. I chose the Clean SVN Install and it works great. Together with a homegrown multi-server-config i’m really close to what i want. But i’d like to have the WordPress-core in a different location and link it with a symlink in the directories of the blogs.

    And here’s my problem: wp-load.php searches wp-config.php in ABSPATH (normal location) and one directory up. That’s where it normally is with a Clean SVN Install, but ABSPATH is made of __FILE__ and contains the “real” directory and not the path of the symlink.

    For showing the blog to public i can simply patch /index.php by doing what is normally done by wp-blog-header.php and wp-load.php, but this doesn’t work with the admin pages.

    Of course i could patch wp-load.php, but patching core files is the most important thing i want to avoid with the clean svn checkout.

    I hope this doesn’t sound too confusig to you. If you want i can give futher information about what i do and want.

    – Matthias

    [edit: translated to english]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp-load.php with clean svn install and symlinked core’ is closed to new replies.