Support » Fixing WordPress » Site images mapping to temp site

  • khyndes

    (@khyndes)


    Hi wordpress community.

    I just changed over primary domain to go live with my website and the site isn’t rendering properly. Most of the images are missing. I have been building with a temp domain name and it looks like the images may still pointing to the temp domain address.

    Quite a lot of the other formatting and styles have gone awol as well – heart breaking after a long day

    It was all looking fine until i removed the password protection from the homepage although that may just be coincidence. I’m guessing I was looking at a cached version and when it refreshed it all went to hell.

    Any help would be so appreciated. Feeling a bit deflated.

    Cheers

    • This topic was modified 2 years, 10 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Alan Fuller

    (@alanfuller)

    Yes indeed, some of the image paths have not been converted.

    You will need to do a database search replace old domain to new domain.

    As it appears the temp domain is siteground and they hay wp command line installed I personally would use wp cli

    e.g.
    wp search-replace --all-tables --precise "https://old" "https://new"

Viewing 1 replies (of 1 total)
  • The topic ‘Site images mapping to temp site’ is closed to new replies.