The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Will changing the primary domain change image and page link paths? (6 posts)

  1. steveanson
    Posted 3 years ago #

    In WPMU, if we change the primary domain in Tools>>Domain Mapping, will this automatically update image and page link paths on all pages and posts?

    For example, when a site is in production an image path is like:


    When we set the site to go live on a real domain, with the above image path change to say:



  2. It won't change the exisitng images and links, no.

  3. steveanson
    Posted 3 years ago #

    Just so I'm really clear Mika. Even after the primary domain is changed in domain mapping, links and images will continue to use:


    Based my example.

  4. You can't map the primary domain, just FYI.

    If I build out tech.ipstenu.org and map that so it's halfelf.org, any and all images I uploaded as tech.ipstenu.org/files/2012/foo.jpg stay as that URL.

  5. steveanson
    Posted 3 years ago #

    Thanks Mika

    So, when the primary domain is changed, image paths will not change but links to internal pages will?


  6. No, the links don't change.

    Any autogenerated menus (like if you put a menu item of 'About page') will adjust, but not actual, hard coded links. Again, gotta search and replace.

    Now they should still WORK, since the old URL is still valid, but they'll redirect :)

Topic Closed

This topic has been closed to new replies.

About this Topic