images not showing up

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 8 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #164173

    yushan
    Expired Member
    Post count: 55

    Hi, my hosting provider changed my IP address, and I was provided with a new IP,
    now all the images (like star icons, etc) are not showing up and I found out that the links for those images are using the old IP address.
    how do I go about fixing this so it uses the new IP? I rebooted the instance and it did not work.

    my second question, why does it use the IP address for images and not the domain name?

    Thanks much

    #164175

    Guust
    Moderator
    Post count: 29970

    It would use the IP address if the site URL is set to the IP address at WP Settings > General > WordPress Address (URL). You should have the URL there of your website.
    To replace all URLs in the database, you need a tool like https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    See also https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket