Links in pages of "Mapped Domain" point to incorrect sibling "Mapped Domain"

I've added some mapped domains so that I now have:

http://bookings.mydomain.com
http://bookings-toyota.mydomain.com
http://bookings-ford.mydomain.com
http://bookings-nissan.mydomain.com

My problem:
The links (like the "Hello World" for instance) inside the mapped domains all point to the Toyota domain. Except for the vanilla http://bookings.mydomain.com, which correctly points to itself.

It's strange because its not the first alphabetically, not is it the first one I've added. I also don' t think it the first one to be resolved via DNS. So not sure why its picking the toyota.

How I get the link to "Hello World" in the Nissan version of the site to point to:
http://bookings-nissan.mydomain.com/Hello-World ?

Any help would be greatly appreciated!
Stephan

  • Milan

    Hello Stephan,

    Hope you are well today and thanks for asking us. :slight_smile:

    If I understood correctly you are saying links in all the mapped domains points to toyota domain except your main site right ?

    And Would you please enable support staff access to your site so that I can see your setup closely ? You can do so via WPMU DEV > Support > Support Staff > Grant Access.

    Let us know once you do that.

    Cheers,
    Milan

  • Adam Czajczyk

    Hello Stephen,

    I hope you're well today and thank you for granting access. I reviewed your site's setup and I was able to replicate the very same behavior on my test box. I have also spoken to Domain Mapping developer and he thinks that seems to be an unexpected bug in plugin code.

    Therefore, I'm reporting this as a bug and the developer will test the issue and review plugin's code in order to provide the fix. I'm not able to give you any ETA on this as he deals with a lot of issues on daily basis but he suggested that he should be able to take care of it with an upcoming release hopefully.

    Best regards,
    Adam

  • Adam Czajczyk

    Hello Stephen!

    1) Do you know what has caused this issue? I can re-install everything if I knew how to prevent it from happening again. Is there a work around?

    Re-install wouldn't help here as this seems to be a bug in plugin code, as I mentioned previously.

    - What are the exact steps to reproduce this issue?

    What I did was pretty straightforward:
    - I created a sub-site on my Multisite setup
    - I created some sub-domains
    - I mapped them all to that sub-site

    At this point the issue from your site was fully reproduced on my own test setup.

    2) How do I get in contact with the developer?
    I have skilled PHP development resources in my business and would be happy to contribute to his project.

    The Domain Mapping developer has been already contacted directly by me and additionally a detailed bug report was issued for the development team. I can confirm that the lead developer of Domain Mapping is currently looking into this issue. I'm not yet aware of the specific reason for this bug so I'm not able to suggest any custom fix/patch that your PHP resources could apply on their own but let me assure you that once our developers find out what exactly is causing this, they'll also either provide you with a "ready to apply" patch or release a critical update for Domain Mapping that will include the fix.

    Best regards,
    Adam

  • Predrag Dubajic

    Hi Stephan,

    If you have any suggestions about this you can post them here, the thread is included in bug report so developer will be checking it and if he misses it I'll gladly forward him your suggestion, I wouldn't even mind sending some hero points your way for helping out :slight_smile:

    As Adam mentioned above, developer is already investigating this issue and we are hoping to see the new version released soon.

    Best regards,
    Predrag