Images not being rewritten to mapped domain

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

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 www-admin.cloudtp.com and http://www.paaslane.com 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: http://www.paaslane.com/products/paaslane-for-aws/

    You can see the very first image at the top right: http://www-admin.cloudtp.com/paaslane/wp-content/uploads/sites/7/2014/01/aws_logo-e1389732496154.png

    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 www-admin.cloudtp.com, but that's exactly what should be remapped with the domain mapping plugin, right?

    There are images that correctly point to http://www.paaslane.com--for 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.

    Thanks.

  • 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
    Jack.

  • Benjamin
    • New Recruit

    Hello,

    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 www-admin.cloudtp.com/cloudtp/sites/... rather than http://www.cloudtp.com.

    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?

    Thanks,
    Ben

  • 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.

    https://premium.wpmudev.org/contact/

    Thank you!

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.