• Resolved enderandrew

    (@enderandrew)


    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!

    • This topic was modified 4 years, 3 months ago by enderandrew.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @enderandrew,

    Thank you for reporting this – I see the “unset” being set as URL and we are investigating this. Regarding the other background image that is no longer present but the theme is still calling it – could you share the exact URL to that page? I don’t see that 404 resources on your homepage.

    Thank you!

    @enderandrew,

    After investigating this I found out that you are probably using image for that block type but you haven’t actually set an image – that causes a 404 error when the website tries to find the resource. If you are not using an image for the block please select the “color” type for it instead of an image.

    Let us know if this still doesn’t solve your issue – thank you!

    irving.bos

    (@irvingbos)

    Hi, has the issue about getting a 404 for wp-content/uploads/themeisle-gutenberg/unset ever been resolved? I am getting the same errors.
    thanks.

    Vytis

    (@bvytis)

    Hi @irvingbos,

    Please check the reply above in this thread:

    After investigating this I found out that you are probably using an image for that block type but you haven’t actually set an image – that causes a 404 error when the website tries to find the resource. If you are not using an image for the block please select the “color” type for it instead of an image.

    I hope it helps ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘404s on background images’ is closed to new replies.