WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WordPress MU Domain Mapping] Multisite 3.0 and domain mapper (8 posts)

  1. Frumph
    Member
    Posted 4 years ago #

    domain-mapper in the mu-plugins
    sunshine in the wp-content directory

    Whenever i'm logged into the backend of one of the subdomains/domain mapped sites and try to visit the page it gives an unknown key error.

    If i'm not logged into the backend I can go to the site just fine.

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

  2. Frumph
    Member
    Posted 4 years ago #

    I've traced it to 1) The login table isnt being updated, 2) remapped domains are not retaining the login state for the user.

  3. Frumph
    Member
    Posted 4 years ago #

    Setting primary domain to the subdomain makes everything work fine, but now when someone goes to the url in question it translates out as the subdomain.

  4. Frumph
    Member
    Posted 4 years ago #

    Using just sunrise.php and the domain_mapping table, with the domain-mapping plugin removed from the mu-plugins, setting the wpurl and siteurl to the mapped domain makes everything work, without having to go through the trouble of the redirects.

    Which leads me to believe that a domain mapping plugin that sets the wpurl and siteurl in that blog.id's options would be sufficient.

    Which means a plugin like this written that allows you to add/remove from the domain_mapper or 'reset' from the wp_blogs would be more valuable and less intensive with the SQL calls per user.

    When primary domain or reset to original wp_blogs domain is triggered it updates the wpurl and siteurl in the options.

  5. Frumph
    Member
    Posted 4 years ago #

    WPMU Tutorials domain mapper here: http://wpmututorials.com/simple-multi-site-plugin-e-book/ for purchase has pretty much fixed all the issues with redirects and etc.

    Its behaving (more or less) how I was thinking donncha's domain mapper should be behaving.

    Worth it.

  6. Donncha O Caoimh
    Member
    Posted 4 years ago #

    Frumph - tried the development version of the plugin?

    If the logins table wasn't being updated what was being inserted into it?

  7. Frumph
    Member
    Posted 4 years ago #

    ^^ update.
    Donncha (the man the myth) worked with me on getting any issues fixed and it's functioning great in wordpress 3.0 multisite now. (the development ver. of the plugin) dunno when it'll be released.

  8. Donncha O Caoimh
    Member
    Posted 4 years ago #

    It was some weird problem with timestamp of the logins table. Dunno why it worked on Linux and didn't work in Windows. I don't think it has anything to do with WP 3.0 though.

Topic Closed

This topic has been closed to new replies.

About this Topic