WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] Infinite redirect for home site in multisite setup on wp3.5 Release Candidate (17 posts)

  1. cratercraver
    Member
    Posted 1 year ago #

    I'm using the WordPress 3.5 Release Candidate version. I did a subdirectory install of WP (in folder WPFOLDER) and then turned on the Multisite mode and created a child site in the network. Both the "homesite" and "childsite" WordPress sites were accessible at their respective URLs, e.g.,
    http://www.homesite.com
    http://www.homesite.com/childsite
    (BTW, "homesite" and "childsite" are merely sample names.)

    No problem at this point. I then followed the instructions for the MU Domain Parking plugin (adding childsite as a Parked Domain with my host) and then was also successfully able to access the child WordPress site via the URL:
    http://www.childsite.com

    Everything seems nice at this point. BUT, with the MU Domain Parking plugin activated, I can't access my home site at:
    http://www.homesite.com
    due to an infinite redirection problem. Firefox says: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete" and returns the URL:
    http://www.homesite.com/WPFOLDER/http://www.homesite.com

    Note: I never have an issue accessing the WP Dashboard for the 2 sites via the URLS:
    http://www.homesite.com/wp-admin/
    http://www.homesite.com/childsite/wp-admin/

    If I deactivate the MU Domain Parking plugin, then I can again access my WordPress site at http://www.homesite.com with no problem.

    Given that the issue starts and stops as I activate/deactivate the plugin, it seems to be a plugin issue.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. cratercraver
    Member
    Posted 1 year ago #

    By the way, one of the new features of WordPress 3.5 is that the Multisite mode does work even when the WordPress code is installed in a subfolder. So, this should work!

    A detail I left out in my post above is that per the standard approach, I redirect to the WPFOLDER folder by changing this line in the index.php file:
    require('./wp-blog-header.php');
    to this:
    require('./WPFOLDER/wp-blog-header.php');

    This is so standard I forgot to mention it, but since I'm dealing with a redirection issue it's conceivably related?

    A related question I have is whether there is any reason to leave the MU domain mapping plugin turned on after setting up the mapping, because it appears that once things are setup, the mapping works even after the plugin is deactivated. I get the "infinite redirection" issue with my home site whenever the plugin is Activated....

  3. cratercraver
    Member
    Posted 1 year ago #

    Ignore that last part about "A related question...."
    I do need the MU Domain Parking plugin activated, and when it's active it does cause the infinite redirect issue on the home site in particular.
    Any idea on how to solve the infinite redirection problem that occurs when MU Domain Parking plugin is Activated?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    By the way, one of the new features of WordPress 3.5 is that the Multisite mode does work even when the WordPress code is installed in a subfolder. So, this should work!

    Yes, I'm aware of that. WP 3.5 has not been released yet. You'll have to wait until the plugin has been updated for WP 3.5. The current version will continue to work for any installs already using it when they upgrade to 3.5.

  5. cratercraver
    Member
    Posted 1 year ago #

    I appreciate the response Ron. I understand you saying that current installs will work when 3.5 is officially released, but current Multisite installs are not subfolder installs (as pre-3.5 WP Multisite didn't support subfolder'd installs).
    So, my question is, (when) will your plug-in be updated to work with 3.5 Multisite installed as a subfolder, since a subfolder'd install now is evidently getting the official "blessing" for Multisite?

    I replicated the 3.5RC Multisite subfolder'd install instructions a 2nd time on a separate fresh server to see what would happen, and again the infinite redirect problem started just after I installed the plugin (fresh install, different server and even domains). I hope this info. might be useful, in case you weren't aware of the issue previously.
    cheers!

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    I don't have an eta.

  7. cratercraver
    Member
    Posted 1 year ago #

    No problem. I just wanted to let you and others know the issue exists, at least currently. When it's resolved, we can all enjoy a subfolder'd WP 3.5 multiSite installation with Domain Mapping using your plugin, and it will be good.

    Good luck with the changes and I'll hope for a short eta. :)

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Thanks :) I do have 30 plugins to look at (http://profiles.wordpress.org/wpmuguru/). I'm going to get the ones that I think will be fine in 3.5 out of the way before looking at the ones that I know need updates (so it's probably going to be a little bit before I get to it).

  9. brody182
    Member
    Posted 1 year ago #

    cratercraver, what MU Domain Parking plugin are you talking about?

  10. cratercraver
    Member
    Posted 1 year ago #

    brody182, I meant to type MU Domain Mapping.

  11. urskemmann
    Member
    Posted 1 year ago #

    Hi,

    I'm having the same issue. I'm have upgraded to WP 3.5 and trying to use the latest version of this plugin.

    When I'm going to "Settings" => "Domain Mapping" I get "Warning! This plugin will only work if WordPress is installed in the root directory of your webserver. It is currently installed in ’/kblog/’."

    I need this to go live in three weeks time. Do you recommend I go back to an older WP version?

    Cheers

  12. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    I need this to go live in three weeks time. Do you recommend I go back to an older WP version?

    The plugin doesn't support the configuration where WP is installed in it's own folder (new to 3.5 multisite). It's fine with WP 3.5 where WP is installed in the root of the website.

  13. Jeff
    Member
    Posted 1 year ago #

    Just got bit myself. The mapped domains work but not the primary (base) domain.

    Ron - Any ETA? Will the plugin be updated to handle WordPress being installed in a sub-directory? If not, aware of any mapping plugins that would do this? I'm not as I've always used this one.

    Cheers, Jeff

  14. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    No, I don't have an eta. The plugin works fine with any existing installs that were already using it (or any new install where WP is installed in the root). I'm down to a couple plugins that don't work in 3.5 at all. Once those are fixed I'll be looking at DM.

  15. Jeff
    Member
    Posted 1 year ago #

    Thanks Ron. I moved it back to root. Unfortunately this is my primary site and was trying to keep WP out of the root. This is a great plugin, so, can work with it not shifting with the shift in 3.5.

    Cheers, Jeff

  16. daimoh
    Member
    Posted 1 year ago #

    I have also just upgraded to 3.5 and as far as I can tell, my multisite WP install is in the root dir on my server.

    I'm getting continuous redirects as above, and only by adding:

    RewriteRule ^([_0-9a-zA-Z-] /)?(wp-(content|admin|includes).*) wordpress/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-] /)?(.*\.php)$ wordpress/$2 [L]

    to my .hataccess, does the continuous redirects stopped as long as I'm not logged in.

    Is there an easy fix for me here?

    On my host, the way it's structured is:
    a.com/
    b.com -> a.com/
    c.com -> b.com/

    so b and c are soft links to a.com, where the primary site is. a.com has dirs like:
    a.com/wp-admin/
    a.com/wp-content/
    etc.

    Any advice you can offer will be greatly appreciated.

  17. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    @daimoh - the wordpress/$2 means that WP is installed in its own folder (ie. not in the root).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic