WP Hive » Troubleshooting and How-To

main blog admin redirecting to root directory

(4 posts)
  • Started 8 months ago by jebus
  • Latest reply from ikailo
  • 2 Members Subscribed To Topic

Tags:


  1. jebus
    Member

    I just reinstalled WP-Hive because I'm having a problem with my main blog admin redirecting to the web root directory. I've got wordpress installed in a subdirectory in the web root, and all the secondary blog admins work fine. But, when I try to go to the main blog admin, which should be at domain.com/wordpress/wp-admin, it redirects me to domain.com/wp-login.php, which doesn't exist.

    This worked fine up until a recent upgrade that apparently broke it. Isn't there some way to serve the main blog from the web root, and point secondary domains to the /wordpress directory?

    Thanks.

    Posted 8 months ago #
  2. jebus
    Member

    Well, I can fix the problem by commenting out lines 45 - 53 in do-prefix.php, under // Get and clean up the pathname. Doing this seems to fix the redirect problem, and all the secondary sites and admins work fine.

    It looks like something is not being defined, because it keeps updating the value for "home" in wp_options for the main blog, adding the a "/wordpress" after the url. I can't tell where this is happening, whether it's in wp-hive or the Wordpress core code.

    Thanks.

    Posted 8 months ago #
  3. tranified
    Member

    I am having this same problem. My setup is identical to jebus'. Didn't have this problem with a previous version of WP-Hive. I think I was running 0.4 before I upgraded to 0.5.3.

    Posted 8 months ago #
  4. ikailo
    Developer

    The latest version of WP Hive does not support directory installs (domain.com/wordpress) very well.

    Will be re-worked for the next version.

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.