2 Comments
  1. I found an SQL query that might help me. I only know some basic SQL so I don’t know if this is a solid solution:

    DELETE pm
    FROM wp_postmeta pm
    JOIN (
    SELECT
    MIN(meta_id) as keep_id,
    meta_value
    FROM
    wp_postmeta
    WHERE
    meta_key = ‘_wp_attached_file’
    GROUP BY
    meta_value
    HAVING
    COUNT(*) > 1
    ) as subq ON pm.meta_value = subq.meta_value
    WHERE
    pm.meta_key = ‘_wp_attached_file’
    AND pm.meta_id != subq.keep_id;

  2. It’s not a duplicate – the same image is being used as the featured image on 3 different posts.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer