Images not being rewritten to mapped domain

The question pretty much sums it up. I have a multisite installed at, and a subsite (in subdirectory mode), which has two domains mapped:
- (primary)

Most of the site seems to be getting rewritten properly, but most images (and some other bits) seem to point back to www-admin. Since I have and served by different hosts, this screws things up.

Can you tell me what I'm doing wrong?

  • Benjamin
    • New Recruit

    Hi Vinod,

    This page is full of them:

    You can see the very first image at the top right:

    Note I don't map my admin interface to the mapped domain, but this shouldn't make a difference, right? My images when I look at them from admin say, but that's exactly what should be remapped with the domain mapping plugin, right?

    There are images that correctly point to the most part I edited these manually in the admin interface to point to the mapped domain. I didn't want you to think the plugin was working on certain pages and not on others. It's consistently not mapping img src's.


  • Jack Kitterhing
    • Code Norris

    Hi there @Benjamin,

    Hope you're well today and thanks for your question! :slight_smile:

    Can you try re-saving your permalinks in each sub site > settings > permalinks and that should then re-write the image location, this doesn't normally happen, but when it does, that should resolve it.

    Of course any issues, please do let us know.

    Hope you're having a great weekend!

    Kind Regards

  • Benjamin
    • New Recruit


    I did as you asked, and went to the Settings->Permalinks and changed them to a different option, saved, and then back to the original option, and then saved again. It did not appear to make any difference--there are still a number of links that lead back to rather than

    Since I have split servers, this means a portion of my traffic is skipping the CDN and going back to my administrative server on www-admin, rather than my main website at www.

    Is there something else I can do to troubleshoot this?


  • Jack Kitterhing
    • Code Norris

    Hi there Ben,

    Hope you're well today, thanks for your patience on this, sorry about the delay here.

    When you say split servers, do you mean in a load balancing way plus a CDN or something else?

    Could you send me the following to take a look at this for you please.

    - In the subject field add "Attn: Jack Kitterhing"
    - Link back to this thread
    - Include admin/network access
    - Include FTP
    - Include any relevant URLS for your site

    On the contact form, select "I have a different question", this ensures it comes through and gets assigned to me.

    Thank you!

    Kind Regards

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.