SEO readability issue with hybrid blocks type

Hi,

Hi created Gutenberg blocks inside a Theme made with Pinegrow WordPress Plugin. Everything is doing fine and has expected, except one thing, the SEO readability.

When the Theme settings are set to “Hybrid” for the blocks type, and go to one of my pages with my created blocks and its content, the SEO plugin (No matter “Yoast” or “Math Rank”), says that there’s not enough content. But the content is there, it can’t just see it.

When the theme settings are set to “Regular” for the blocks type, the content is readable by the SEO plugin. But I don’t want to use the “Regular” books type, because of the too many “Attempt Block Recovery” to handle every time a made some change inside my theme.

Is there a way to make SEO readability working with “Hybrid” blocks type ?

I hope I made myself clear enough,
Thanks for your help,
Kind regards,
Siegfried

Hi @Takuya,

this is the general issue with dynamic blocks (not just our implementation of hybrid blocks), as discussed here on Yoast:

The arguments expressed there against supporting dynamic blocks are very rigid and non-practical IMO.

1 Like

Hi Matjaz,

Thanks for your swift reply.

By any chances do you know any SEO WordPress plugin that work with dynamic blocks ?

Kind regards,
Siegfried

Hi @matjaz

I’ve read somewhere (can’t remember where, age concern :rofl:) that using the “save” function in Gutenberg blocks to generate static HTML content might help SEO plugins (like Yoast) detect the content properly. For example:

save: ({ attributes }) => {
    return <p>{attributes.content}</p>;
}

Would this approach be a viable solution to ensure that “Hybrid” blocks are compatible with SEO plugins? :face_with_monocle: or am I talking nonsense?

Thank you for your guidance!

@Takuya @Blep Let me do some experiments on that… We could easily save the complete content for hybrid blocks. The only concern is if this would trigger the block recovery on changes. Will try and get back on that.

3 Likes