• Resolved wpbroken2much

    (@wpbroken2much)


    I recently created a new site using Multisite and NS Cloner which requires all the featured image URLs for the new site to be changed. I ran your plugin which successfully changed every string which matches /uploads/sites/4/2022 with /uploads/2022 but the featured image URLs remain unchanged. As a result I have a bunch of posts with images in their content but a missing featured image due to the featured image still using the same URL structure.

    Can I use your plugin to change the featured image URLs as well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wpbroken2much

    (@wpbroken2much)

    UPDATE: It looks like the problem is with WordPress. They story featured images in the post meta table without the full directory in the URL. As a result, they have entries for stuff like 2022/6/myimage.jpg so it seems those images will require something else to be changed like some default folder setting wherever that might be found.

    Plugin Contributor Kevin Hoffman

    (@kevinwhoffman)

    Hi, thanks for posting the update.

    Can I use your plugin to change the featured image URLs as well?

    Sure. If you ever see a broken image on your site, you can inspect the image src and compare the URL to the value that you see in the post_meta table. If the partial path you see in the post_meta table matches the path that you see in the URL, then the difference might be the elsewhere in the URL, such as the uploads directory itself.

    If you suspect that the location of the uploads directory is the problem, check out the wp_uploads_dir() documentation. It is an excellent overview of the different variables that can affect the uploads directory path.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image URLs Not Changed’ is closed to new replies.