• Resolved mortimer

    (@mortimer)


    I moved a website from https://www.petrecall.com to https://www.petfoodrecall.org.

    This is what I did:
    -The installed directory on the server remained the same, I changed what domain pointed at it.
    -I updated the url in General > Settings
    -I ran the following SQL query – UPDATE wp_posts set post_content=REPLACE(post_content, ‘www.devServer.com/’, ‘www.liveServer.com/’);

    Results:
    -Website can be navigated on the new domain
    -Images are in the right spot (new url) but aren’t displaying (right click and get image url – it’ll be the correct location and it will display when you view the image by url only).

    Traffic is routed through CloudFlare but has been disabled to test – so it should just be acting like a DNS.

Viewing 4 replies - 1 through 4 (of 4 total)
  • As you say the urls look right but the native dimensions show as 0 x 0.
    Add another image now to media and insert just to confirm images still work.

    Thread Starter mortimer

    (@mortimer)

    I tried uploading a new image to this post with no change – https://www.petfoodrecall.org/2013/12/fda-takes-significant-steps-address-antimicrobial-resistance/

    The images in the media pop-up aren’t displaying either.

    Have you checked the dimensions set up in the media settings? Permissions on the uploads directory?
    I get: 403 Permission Denied
    You do not have permission for this request /wp-content/uploads/2013/12/FDA.jpg
    The alt/title text is displayed which usually suggests it’s not a url issue, more likely permissions related. But I do see the image when I drop the www, so maybe you need to make the site url domain.com, not https://www.domain.com which is technically a different domain.

    Thread Starter mortimer

    (@mortimer)

    Ah – without the www it was being blocked by hotlink protection. I disabled that for now, I’ll figure out how to resolve the location of the images.

    Thanks for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images not displaying after domain change’ is closed to new replies.