WP Hive » Installation and Configuration

Support for Subdirectory Sites

(4 posts)
  • Started 10 months ago by ikailo
  • Latest reply from ikailo
  • 3 Members Subscribed To Topic

  1. ikailo
    Developer

    It seems there is a fairly common problem with the subdirectory installs - particularly with logging into the WP Admin.

    I am working on a resolution, and I will release it as soon as possible.

    In the meantime, if possible, please limit support questions to issues that do not involve sites set up as subdirectories.

    Thanks very much!

    Posted 10 months ago #
  2. hab
    Member

    Hi ikailo

    Just checking to see how this is coming. I haven't had admin access to one of my blogs (in a sub-directory) for quite a while. Fortunately, it's one of my least visited blogs so I'm not in a great hurry. Just wondering if I should wait for an imminent fix or recreate it as a subdomain.

    Overall, I love your plugin. Thx!

    Posted 9 months ago #
  3. Reventon
    Member

    I can confirm subdirectory is not working with the latest version.

    No matter if I install WP in root or in /blog/, the additional domains are unable to access admin area.

    Posted 9 months ago #
  4. Reventon
    Member

    my post didn't appear.

    Posted 9 months ago #
  5. chintan
    Member

    Folks, Here is a workaround that worked for me.

    I had a similar problem re: admin login and my configuration is not what is Ikailo suggested for 0.5.3 release.

    I have

    domain.com/blog1
    domain.com/blog2

    And the admin login was redirecting to

    domain.com/wp-login.php

    So I edited the file do-prefix.php and commented these 2 lines (around line number 56 and 57)

    //wphive_redirect($redirect);
    //exit (0);

    I can now login to individual subsite admins

    domain.com/blog1/wp-admin
    domain.com/blog2/wp-admin

    and it works fine.

    Many Thanks to Ikailo for the great tool!

    Posted 9 months ago #
  6. Reventon
    Member

    Thank you chintan for your solution.

    I am able to login to admin now.

    My setup is a bit different from yours but your solution works.

    My WP is installed in domain1.com/blog/

    Then my other WP are domain2.com/blog/ domain3.com/blog/ etc

    But with this set up, I am getting an "Unknown Host" when I access the domains at root level, even though I have edited and moved WP index.php to the root.

    Posted 9 months ago #
  7. Reventon
    Member

    Thank you chintan for your solution.

    I am able to login to admin now.

    My setup is a bit different from yours but your solution works.

    My WP is installed in domain1.com/blog/

    Then my other WP are domain2.com/blog/ domain3.com/blog/ etc

    But with this set up, I am getting an "Unknown Host" when I access the domains at root level, even though I have edited and moved WP index.php to the root.

    Posted 9 months ago #
  8. Reventon
    Member

    Thank you chintan for your solution.

    I am able to login to admin now.

    My setup is a bit different from yours but your solution works.

    My WP is installed in domain1.com/blog/

    Then my other WP are domain2.com/blog/ domain3.com/blog/ etc

    But with this set up, I am getting an "Unknown Host" when I access the domains at root level, even though I have edited and moved WP index.php to the root.

    Posted 9 months ago #
  9. ikailo
    Developer

    There is a fix in progress for this issue. The next version works much better for sub-directories, but will require mod_rewrite to work correctly.

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.