network site domain mapping still applied after being removed (21 posts)

  1. SRD75
    Posted 2 years ago #

    I have a sub-domain network installation on http://www.example.com

    One of the sites is rabbit.example.com

    This site used to have a domain mapping to http://www.rabbit.com.

    I removed this mapping.

    However, when I go to http://rabbit.example.com/wp-admin, it forwards me to http://www.rabbit.com/wp-admin

    I have checked the site settings for rabbit.example.com, and the base URL and home URL are set to rabbit.example.com.

    I have double-checked the domain mapping is no longer there.

    I do not have a caching plugin installed.

    The site's database table, wp_10_options, has the site URL as rabbit.example.com

    Any ideas?

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Is this a multisite install? If so, it should have been posted in the multisite forum - I've moved it there now.

    Bump deleted - http://codex.wordpress.org/Forum_Welcome#No_Bumping

  3. Did you have domain mapping set up on the server?

    What plugin were you using to map domains?

  4. SRD75
    Posted 2 years ago #

    The only domain mapping I had was controlled by WordPress MU Domain Mapping v0.5.4.3.

    I removed the domain mapping controlled by this plugin, but it is still in effect.

  5. Did you put anything in your .htaccess to redirect?

  6. SRD75
    Posted 2 years ago #

    No, there was nothing specific to the domains being mapped in .htaccess. It was all controlled by the plugin.

  7. Can you share the actual URLs?

    At this point all we can do is theorize that either you didn't remove it fully from the plugin or there's something messy with DNS going on.

  8. SRD75
    Posted 2 years ago #


    The site I want to work is http://fatrabbit.doig.com.au/wp-admin
    (doig.com.au is a network install of WordPress)

    This forwards me to a seperate installation of WordPress at http://www.fatrabbit.com.au/wp-admin

    Note, I have removed the domain mapping in doig.com.au network admin.

  9. Well HERE is something weird...

    http://fatrabbit.doig.com.au/wp-login.php works.

    What's in your .htaccess?

  10. SRD75
    Posted 2 years ago #

    Oh, the login page works, but after you login, it takes you to http://www.fatrabbit.com.au/wp-admin/

    It is a standard .htaccess file for WordPress network.

  11. Assuming you mean it's really JUST the multisite stuff and nothing, absolutely nothing, additional added in...

    The domain mapping plugin takes care of BOTH wp-login.php and wp-admin, so the signs are pointing to it not being the plugin. The only way to be 100% sure is if you actually turned the whole plugin off and checked if it was still happening.

    Weirdly, the links on fatrabbit.doig.com.au/wp-login.php are all to the fatrabbit.com.au domain

    But this is not normal: http://www.fatrabbit.com.au/lost-password/

    What OTHER plugins are you running? Or what theme setting is moving the lost-password?

  12. SRD75
    Posted 2 years ago #

    I turned the domain mapping plugin and logigng into http://fatrabbit.doig.com.au/wp-admin still sent me to http://www.fatrabbit.com.au/wp-admin.

    I searched this site's database and found no mention of fatrabbit.

  13. Repeating:

    What OTHER plugins are you running? Or what theme setting is moving the lost-password?

  14. SRD75
    Posted 2 years ago #

    AddThis Social Bookmarking Widget
    Better WP Security
    Jetpack by WordPress.com
    The Events Calendar
    Visual Form Builder
    Widget Logic
    WordPress Importer
    WordPress MU Domain Mapping
    WordPress SEO
    WP Remote

  15. Turn off Better WP Security at a guess...

  16. SRD75
    Posted 2 years ago #

    Unfortunately no change.

  17. *guh*

    All I can think now is ... WP Remote?

  18. SRD75
    Posted 2 years ago #

    disabled WP Remote, and Better WP Security - no change

    the same symptoms have occurred for two other network sites I have removed the domain name mapping for. the subsite wp-admin still redirects to the full domain wp-admin.

  19. SRD75
    Posted 2 years ago #

    I have disabled WP Remote and the same symptoms remain.

    The same thing occurred for 2 other network subsites - the subsite wp-admin redirects to the domain wp-admin even after removing the domain from domain mapping.

  20. kleinermann
    Posted 1 year ago #

    Hi SRD75,

    Have you ever resolved this issue? I have the same problem. Even if i delete the site that makes problems, and create a new one with the same name i still have the domain mapping happening.

  21. It's got to be a conflict with

    a) A plugin/theme
    b) Your DNS/vhosts

Topic Closed

This topic has been closed to new replies.

About this Topic