[Resolved] Image paths of newly mapped MU site refer back to host site path structure
I hope someone can lead me on the right path, as I’m sure there is a workaround for this. I’ll try to be as brief as possible:
– Issue: I have set up a new site in a MU network, which has been mapped to a different domain name (set up as an ad on domain in Cpanel), so it looks like the site it has nothing to do with the MAIN MU site. So, instead of mainblog.com/newblog it correctly displays as newblog.com.
However, images still reference back to mainblog.com/newblog/images/example.jpg instead of being mapped as well i.e. newblog/images/example.jpg
When uploading an image to newblog/images and trying to view it in a browser it just returns a 404. I would say, when the path for an image refers to a different site as opposed to the site one is visiting, it doesn’t look professional at all.
– What I did initially (may help to solve the issue): a) Added a new site to a MU setup b) Mapped the new site with a distinct domain name through the WP MU Domain Map plugin c) Set the new site up as an add on domain in Cpanel.
Looking at the issue with the images, it still just looks like the domain name displays uniquely, however, everything else references back to the main MU site. When checking out the new site on a mobile device, it would not even start it up and direct straight back to the original MU site – not the new one.
Quite some introduction. I hope someone can shed a light.
- The topic ‘[Resolved] Image paths of newly mapped MU site refer back to host site path structure’ is closed to new replies.