[Support request] Images are broken

Home Forums Support Images are broken

  • This topic has 11 replies, 5 voices, and was last updated 2 weeks ago by David.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1440035
    Vinay Karanam

    I recently created a lot of content and most of them have same format. Image, followed by content and another hyperlink image. Everything was good and all of sudden,images are gone. I checked the files to make sure the uploaded images arent corrupted and they are fine, then went made sure I refreshed the permalinks and then updated the .htaccess file. But no luck. Can you guys help me out here? to manually do 200 pages is a nightmare haha

    #1440036
    Elvin
    Customer Support

    Hi Vinay,

    Can you check your WordPress and Site URL under WP Admin Panel > Settings > General?
    wordpress settings general

    Do they match your current URL? I’m seeing net::ERR_NAME_NOT_RESOLVED errors on your site. The img src for your images doesn’t match the current URL of your site. Perhaps this is causing the problem.

    Let us know if it works for you.

    #1440059
    Vinay Karanam

    Hi Elvin,

    Yes, they are matching.

    #1440143
    Elvin
    Customer Support

    This is the error from the console.
    image error

    Did you change domain from https://canadainc-movers.ca/?

    The image are not displaying properly because their src url uses the wrong domain.

    Assuming your WordPress and Site URL under WP Admin Panel > Settings > General is set to your current URL, you may have to open your database and do a search and replace for table values that still uses the old domain.

    Alternatively, you can try using WordPress plugins like – https://wordpress.org/plugins/better-search-replace/ to search and replace from the old domain url to your current URL.

    #1441080
    Vinay Karanam

    Hi Elvin,

    The images were copied from there but we ended up creating new images and uploaded them, not sure if the cache so we cleared the cache.

    Then I installed the plugin you recommended and replaced all the https://canadainc-movers.ca/ url with the sites url.

    Went into DB and checked all the files. Didnt find any https://canadainc-movers.ca/, can you double check please? if the url is still around, which folder is it in? so I can replace it.

    Thanks

    #1441622
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I’m still seeing the old URL in your HTML.

    Have you tried a plugin like Velvet Blues Update URLs? It’s always worked great for me when it comes to replacing old URLs in the database.

    #1441727
    Vinay Karanam

    Hi Tom,

    I added the Velvet Blue update url changed the urls. Still seeing the same, where are you find the https://canadainc-movers.ca/ in the HTML ?

    #1441843
    Leo
    Staff
    Customer Support

    Any chance you can clear and disable the caching plugin and also allow right click so we can view the source of your site better?

    Thanks!

    #1441988
    Vinay Karanam

    Hi Leo,

    I have disabled the plugin, please let meknow if you need anything else.

    #1442213
    David
    Staff
    Customer Support

    Hi there,

    when you updated your URLs you did it incorrectly.
    This is the URL being output for those images:

    https://metalmenmovers.comwp-content/uploads/2020/08/metromovers.png

    It is missing the / after the .com

    You will need to search and replace this now.

    1. Search this: https://metalmenmovers.comwp-content/
    2. Replace with this: https://metalmenmovers.com/wp-content/

    #1443254
    Vinay Karanam

    uggh….dohh…such as small things messing everything up.

    Thank you very much for taking your time for helping me out! really appreciate it!

    #1443695
    David
    Staff
    Customer Support

    Glad we could be of help

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.