The MU forums have moved to WordPress.org

Domain Mapping just reloads page (16 posts)

  1. dgalfano
    Member
    Posted 14 years ago #

    I was running 2.8.4 with an older version of Domain Mapping, and everything worked fine with 2 blog/sites.

    I moved one website from a Plone setup to my WPMU and was finally ready to just point the real domain. So I updated the A record, added it to my server DNS, and then added the domain to my site. I must have typed in the domaincom vs. domain.com, so I couldn't remember how to edit this and decided I should see if there was an upgrade to the plugin (I did search my database for a table, but didn't find it until today (duh, page 2!)). Anyhow, so I updated the plugin but that broke my two other already working domain maps. All I see on the user side is a reloading the page (which is just blank). After reviewing the plugin, I realized it needed 2.8.6, so I updated the core files. Still get the same problem.

    I do have the domain map pointing to my IP and each blog has the real domain as the primary domain.

    Here are a few of the sites:
    http://bellaverdura.com
    http://bellazucca.com

    Oddly, in admin, the URL works just fine - i.e.
    http://bellaverdura.com/wp-admin/tools.php?page=domainmapping takes me to the domain mapping settings....

    If I set the domain to the blog url (http://bellaverdura.galfanodesign.com), then that site still works just fine...

    None of these are currently checked:
    Permanent redirect. (better for your blogger's pagerank)
    Redirect administration pages to original blog's domain

    Help?

  2. andrea_r
    Moderator
    Posted 14 years ago #

    "All I see on the user side is a reloading the page (which is just blank)."

    Blank page = errors. please check your error logs.

  3. dgalfano
    Member
    Posted 14 years ago #

    I see this a lot:
    PHP Warning: mkdir(): No such file or directory in /web/wp-content/plugins/snazzy-archives/snazzy-archives.php on line 133, referer: http://jennymetro.com/

    (it has references to the other referrers as well)...

    I removed the plugin from the server and haven't had an error thrown in awhile...but I'm still getting the same blank pages.

  4. dgalfano
    Member
    Posted 14 years ago #

    Please?

  5. wpmuguru
    Member
    Posted 14 years ago #

    Try changing the blog to the default theme.

  6. dgalfano
    Member
    Posted 14 years ago #

    2 of them already use the default theme. I tried changing the main blog from Thematic back to default and also tried another blog that used another theme to default. No luck. I also tried adding a new blog. I think when I had this issue before, I had to just create a new blog and start over...which I don't really want to do.

    I'm not sure what else to do though...

  7. dgalfano
    Member
    Posted 14 years ago #

    I found the problem, not necessarily a solution, yet. There seems to be a conflict between theme-my-login plugin and the domain mapping. Not sure if there's a solution out there for that.

  8. andrea_r
    Moderator
    Posted 14 years ago #

    Dump the theme-my-login plugin. Use this tutorial instead:
    http://wpmututorials.com/how-to/custom-branded-login-screen-for-wpmu/

  9. miklb
    Member
    Posted 14 years ago #

    I use Binary Moon's Custom Login plugin with no problems conflicting with domain mapping. http://www.binarymoon.co.uk/projects/bm-custom-login/

  10. andrea_r
    Moderator
    Posted 14 years ago #

    Yep, mine is just a variation on ben's.

  11. dgalfano
    Member
    Posted 14 years ago #

    Andrea, can I install in regular plugins directory? My ideal reason for theme-my-login was that login was embedded on a page rather than stand alone bare page like the regular login. But, if I can add logos for the different businesses for each blog, then your solution would be fine. If possible, I'd rather not have just one logo for all the blog login pages. Did I explain that well?

  12. andrea_r
    Moderator
    Posted 14 years ago #

    The one I did, the logo is hardcoded in the plugin, so in either plugins folder it's still not a good solution for you.

    You coudl add that plugin code to the functions.php file of each theme and skin it that way, IF each domain was using a different theme.

  13. dgalfano
    Member
    Posted 14 years ago #

    Each blog will have its own theme, yes. So instead of installing into the mu-plugins, I just put the code into each theme's functions.php? I guess it can go pretty much anywhere? Actually, it looks like it is all Kubrick stuff. Can I ditch those for custom themes?

  14. andrea_r
    Moderator
    Posted 14 years ago #

    "So instead of installing into the mu-plugins, I just put the code into each theme's functions.php?"

    YES.

    Don't ditch what's already in the theme's functions file unless you know what you are doing. It has stuff in there to control widgets & things, depending on the theme you're using.

  15. dgalfano
    Member
    Posted 14 years ago #

    Got it. Thanks Andrea!

  16. stacef
    Member
    Posted 14 years ago #

    Hey Andrea,
    I'm having trouble getting the code to be read. I've tried both as an mu plugin and currently as a custom function in functions.php.

    It appears that the code is seen but is coming too late in the process. Looking at the source of my login page, I see

    <link rel='stylesheet' id='login-css'  href='http://www.liveoaksf.org/wpmu-test/familylogin/wp-admin/css/login.css?ver=20090514' type='text/css' media='all' />
    <link rel='stylesheet' id='colors-fresh-css'  href='http://www.liveoaksf.org/wpmu-test/familylogin/wp-admin/css/colors-fresh.css?ver=20090625' type='text/css' media='all' />
    	<meta name='robots' content='noindex,nofollow' />
    <link rel="stylesheet" type="text/css" href="http://www.liveoaksf.org/wpmu-test/familylogin/custom-login/custom-login.css" /><meta name='robots' content='noindex,nofollow' />

    Any thoughts?
    Thanks very much,
    Stace

About this Topic