WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] SecondaryDomain is redirecting to MainDomain (6 posts)

  1. realwahl
    Member
    Posted 1 year ago #

    I am trying to make the WordPress MU Domain Mapping plugin working on WP 3.5.1. I installed the plugin and I set the SecondaryDomain.com as “Addon domain”, pointing to the same directory as MainDomain.com. They are both in the same hosting account, so they have the same IP in the Aname record, which should be ok. I also set the SecondaryDomain.com in Settings>Domains as the primary domain for siteId 2, which was MainDomain.com/blog2 .
    The problem is that, when I try to access any page on SecondaryDomain.com (including homepage), it redirects to MainDomain.com (homepage).
    Can you please help me solve this problem?

    The SecondaryDomain is deborabaldelli (DOT com)

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

  2. realwahl
    Member
    Posted 1 year ago #

    Since I got no answer... I solved it myself!
    While analyzing the redirects, I noticed that the MainDomain.com/blog2 was not redirecting to SecondaryDomain.com, but to SecondaryDomain.Ãcom (or Ä, I didn't paid attention). I updated it in db (domain_mapping table) and now it works as supposed! So, I guess it's due to a bug!

  3. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Glad you found it.

    Since I got no answer... I solved it myself!

    Every one who answers threads here does so as a volunteer. In most instances you are unlikely to consistently get an answer to a thread in under 2 hours.

  4. realwahl
    Member
    Posted 1 year ago #

    Hi Ron,

    Thanks for your answer and for the plugin. I know you are all volunteers, so I didn't pretended a fast answer. In fact this is why I kept searching and searching for a solution, till I found it!

    Please just check if this was a bug and if you can solve it, for future releases! I can provide more details if needed.

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    If you fixed it by editing the record in the DM table then the most probable cause is that the erroneous domain was entered through the admin screen. The other alternative is that you had something corrupt the record in the DB.

  6. realwahl
    Member
    Posted 1 year ago #

    I entered it in the admin screen by typing it, no copy-paste. I have no idea how that character arrived there, hope it was just a case and will not happen to others.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.