• So I have built a staging site for a relaunch of an existing site.
    I wanted the new version to be on a different server, so I registered the .net version of the original site (which is on .com) with a different host. The plan was to rebuild the site there, and then change the nameserver settings to point to the new location.
    Now I have come to realize that in the staging site, all internal links are pointing to the .net URLs, and all images inserted in the .net version of the site are also referring to the .net image gallery.
    Question: once I have, in the WP settings/General (WordPress Address (URL), Site Address (URL)), changed those settings to the .com version, will that also change the image URLs and internal links to the .com URLs?
    And if not, is there a way to make those changes without opening every single post and page and changing this manually?

    • This topic was modified 3 years, 11 months ago by catfishtpa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Question: once I have, in the WP settings/General (WordPress Address (URL), Site Address (URL)), changed those settings to the .com version, will that also change the image URLs and internal links to the .com URLs?

    No, you’ll have to change ALL the URLs to the .com.

    But you can run a single SQL query to change this (if you drink that kind of beer), or use a plugin like Velvet Blues UPDATE URLs to easily swap the domains in one pass (you can delete the plugin after the change).

    Please see:

    Changing The Site URL

    Thread Starter catfishtpa

    (@catfishtpa)

    that plugin seems to be just what I need to fix this issue, thank you!

    I needed this exactly. Thank you too!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rebuilding WP as a stating site on different domain’ is closed to new replies.