• I have an old website on a webhost I have been using for years. I decided to change web hosts and use this opportunity to rebuild my website from scratch (eg. ensure all the old plugins, themes, data, etc are cleaned out and perhaps use a new theme/style).

    The new host has given me a temporary URL in the format (https://000.000.000.000/~username/ and I am setting up my WordPress website in that root. Once I have the site ready at the new host, I will then point my domain to to it.

    My question is….will this then require any additional work, particularly the way the links work? I can see that WordPress is already using that root address (the temporary URL) for media links. For example, it’s already using:
    https://000.000.000.000/~username/wp-content/uploads/2013/07/test-image.jpg

    Once I change my website to point to the new host, I am assuming that the proper link to that image will change to https://www.websitename.com/wp-content/uploads/2013/07/test-image.jpg or will it keep the old link? Will I need to go in and change all the link references to this?

    I’ve not done this before, so any help would be very much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Once you point your domain to the new host, all images will automatically change to the proper URL.

    Thread Starter tokyotony

    (@tokyotony)

    Does that include the URLs I have in my pages? For example, I have on a static front page code like:

    ————-
    This is a picture of a beautiful flower. <img class=”alignright size-full wp-image-8″ alt=”infor” src=”https://000.000.000.111/~username/wp-content/uploads/2013/07/flower.png&#8221; width=”131″ height=”134″ />
    ————-
    I think I understand that the links to the Media library would change, but would the HTML in a Page change?

    Thanks,

    Tony

    If done properly, your code should work just fine on your new adress. If you run into any problems, there’s always the brilliant Velvet Blues Update URLs plugin.
    Whatever you do, first create a full BACKUP of your site!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change from temp URL to actual domain – what happens to the links’ is closed to new replies.