404s on background images
-
I had a background image for a block I removed. I’ve deleted the file from the Media Library and I’m sure I’m not referencing it anywhere. I cleared all caches. And yet the rendered page still references that background image:
}#wp-block-themeisle-blocks-advanced-columns-90845b53{padding-top:0;padding-right:20px;padding-bottom:0;padding-left:20px;margin-top:0;margin-bottom:0;justify-content:center;min-height:auto;background-image:url(https://omahachapterone.org/wp-content/uploads/2020/08/rar-1.jpg)
If I edit that page and look at the code view for the page for that specific block there is no background image set. I then even went in and gave it and blank value for a background image, but the page still renders trying to give it an old background image that doesn’t exist.
<!-- wp:themeisle-blocks/advanced-columns {"id":"wp-block-themeisle-blocks-advanced-columns-90845b53","columns":3,"layout":"equal","layoutMobile":"collapsedRows","paddingType":"unlinked","paddingTop":0,"paddingBottom":0,"marginTop":0,"marginBottom":0,"columnsWidth":1100,"horizontalAlign":"center","backgroundType":"image","backgroundImageURL":"","align":"full"} --> <div class="wp-block-themeisle-blocks-advanced-columns alignfull has-3-columns has-desktop-equal-layout has-tablet-equal-layout has-mobile-collapsedRows-layout has-default-gap has-vertical-unset" id="wp-block-themeisle-blocks-advanced-columns-90845b53">
Likewise I have another 404 for a background image I’ve never set or included.
#wp-block-themeisle-blocks-advanced-column-25583956{padding:0;margin-top:20px;margin-bottom:20px;background-image:url(https://omahachapterone.org/wp-content/uploads/themeisle-gutenberg/unset);
These lead to two more get requests, slowing down the page load, and it hurts my score and SEO to have two 404s on the front page.
Thanks for the help!
The page I need help with: [log in to see the link]
- The topic ‘404s on background images’ is closed to new replies.