The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Eric Andrew Lewis
    Posted 4 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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