Support » Plugin: WordPress MU Domain Mapping » How to Remove this Plugin for WP 4.5+

  • We have used this plugin for years, only just now realizing that since WP 4.5, domain mapping is now a native feature. While that is great, we currently have older websites that are still using this plugin.

    While these older websites have been upgraded to the latest versions of WP, what is unclear is how to remove this plugin to use the native methods without any significant downtime to the websites. The plugin still seems to work, but since it has not been updated in some time and there’s an increased risk of issues down the road, it would be great to be more proactive now in removing the dependency of the plugin to use the native methodology for domain mapping.

    Is there any sort of instructions on how to convert over to the native mapping on WP 4.5+ installations and removing the plugin, without the risk of killing the sites?

    Thanks
    Ed

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don Chinnici

    (@dchinnici)

    I’m only now digging into this MU. Where does one find the native domain mapping? And might you know, is MU only available for Dedicated IP?

    Here are the steps I used to remove the domain mapping plugin and return to native WordPress mapping.

    0 – BACKUP WORDPRESS.

    1 – Make a list of your sites and their respective domains.

    2 – Remove all added domains from the domain list.

    3 – Remove sunrise entry from wp-config.php

    4 – Remove sunrise file from wp-content directory

    5 – Deactivate WordPress MU Domain Mapping plugin

    6 – Map your sites using the no plugin method described here … https://wordpress.org/support/topic/howto-domain-mapping-without-a-plugin-instructions/

    7 – Make sure define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] ); is added to wp-config.php as per instructions for Step 6

    8 – TEST

    If you run into an error that says cookies are blocked or not supported, change the line in Step 7 to

    define(‘COOKIE_DOMAIN’, false);

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.