WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Add option for wp-admin redirect? (1 post)

  1. Eric Andrew Lewis
    Member
    Posted 2 years ago #

    One of my clients had the issue of redirection to the parent site from a subdomain when trying to access wp-admin.

    Then I realized this is actually default behavior of this plugin.

    There's a few ways to deal with this. The first we found was modifying the site_url value in the DB for the subdomain.

    The more best-practices way would be to unhook 'dm_redirect_admin' from 'admin_init', perhaps on init.

    Perhaps this could be made an option in the Domain Mapping plugin though? So a user can check on/off wp-admin redirecting? Seems like it might be a relatively easy addition, although will probably open up a configuration vs. convention discussion.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Eric Andrew Lewis
  • This topic is not resolved
  • WordPress version: 3.3.2