• I build website on subdomain, now I did migration, update every link in database and everything is good insted of image links.
    Plus, when ever I upload new image, it goes to old folder

    It gets this url instead of this url. I have no idea how to fix this, whole db is updated.

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

Viewing 1 replies (of 1 total)
  • Thread Starter hermoone

    (@hermoone)

    Fixed, I just disabled srcset atribute:

    // disable srcset on frontend
    function disable_wp_responsive_images() {
    return 1;
    }
    add_filter(‘max_srcset_image_width’, ‘disable_wp_responsive_images’);

    But media still have different url, and don’t know how to update it

    • This reply was modified 4 years, 4 months ago by hermoone.
Viewing 1 replies (of 1 total)
  • The topic ‘Src url and srcset are different -> no images loaded’ is closed to new replies.