Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Unyson + Yoast SEO

Open salttechno opened this issue 11 years ago • 29 comments

First thing I would like to say is: Unyson is just awesome. It gives amazing power with easy custmozation. Thanks for such a awesome framework.

I am working on a website where I want to use Yoast SEO plugin on pages built with Unyson Page Builder. SEO title, description works very well. But Yoast SEO plugin does not work with the content written in page builder fields.

How can we make it work?

salttechno avatar Sep 09 '15 09:09 salttechno

Thank you

But Yoast SEO plugin does not work with the content written in page builder fields.

Sorry, I don't understand, how it doesn't work with the content? Can you give me an example or more details?

ghost avatar Sep 09 '15 09:09 ghost

Thank you for quick response.

Kindly check the screenshot. It shows 0 words in body copy but I have content on this page. yoast-seo-unyson

There is content on the page. But this page is created using Unyson Page Builder. So, the content is in the option fields of elements.

I think, text written within our elements is not readable to this plugin.

salttechno avatar Sep 09 '15 09:09 salttechno

I think Yoast SEO works only with simple text and doesn't extract content from shortcodes. Page builder saves everything as shortcodes (you can check post content in database).

So better to open an issue on Yoast SEO plugin and ask them why it doesn't extract content from shortcodes.

It should work with frontend output, strip html tags and extract content (like search engines do), not with raw database content where shortcodes are not parsed and the content is enclosed in shortcodes attributes.

ghost avatar Sep 09 '15 09:09 ghost

https://github.com/Yoast/wordpress-seo/issues/2815

Apparently Visual Composer fixed it somehow... it's a shame, we had to abandon the page builder because our customer wasn't satisfied :(

erralb avatar Nov 05 '15 20:11 erralb

I am also facing the same issue with Yoast not parsing the content created with the page builder properly.

When digging through Unyson I found that _init() part of the class FW_Extension_Shortcodes() is only running and hence registering the shortcodes if the page request is either an ajax request ('DOING_AJAX'), or not at admin page (!is_admin()).

This prevents me from using the filters provided by yoast to do the page analysis in the dashboard since the shortcodes are not registered if it is not a front end request.

Is there a way around this?

edvinbrobeck avatar Nov 16 '15 17:11 edvinbrobeck

registering the shortcodes if the page request is either an ajax request ('DOING_AJAX'), or not at admin page (!is_admin()).

That will be fixed in next Shortcodes release https://github.com/ThemeFuse/Unyson-Shortcodes-Extension/commit/3c9641767d5511562fa293c69a23bc6e595c485b

ghost avatar Nov 16 '15 17:11 ghost

Hi Moldcraft, does this mean this is fixed so we can use SEO By Yoast with Unyson?

nickkuijpers avatar Jan 10 '16 12:01 nickkuijpers

Shortcodes v1.3.9 hasn't been released yet. You can test it: Download and extract in unyson/framework/extensions/shortcodes. Check if everything works fine, if not, let us know.

ghost avatar Jan 10 '16 14:01 ghost

Hi! Today I test with Yoast SEO and it doesn't work. You could see here

dylan-ngo11 avatar Jun 21 '16 11:06 dylan-ngo11

Here is how the result looks in Visual Composer page.

dylan-ngo11 avatar Jun 21 '16 11:06 dylan-ngo11

@duongancol Thank you for inspecting. We will try to extract the text from the html generated from shortcodes (with strip tags) and update post content, but later.

It should be done here. You can try to find a solution and provide a pull request. Note: Check if no duplicate Revisions are created.

ghost avatar Jun 21 '16 12:06 ghost

Thank for your info, I'll try too.

dylan-ngo11 avatar Jun 21 '16 14:06 dylan-ngo11

tried to figure out but it's quite complicated. Could you open this issue?

dylan-ngo11 avatar Jun 22 '16 04:06 dylan-ngo11

wrong! Yoast SEo works fine with many page builder and doesn't work only with Unyson.

mariap69 avatar Jun 23 '16 17:06 mariap69

@mariap69 no reason for hostilities, you can see that everyone is looking in to this and doing their best to help out. I am sure that it will be fixed soon.

danyj avatar Jun 23 '16 18:06 danyj

Ok I hope they fixed it soon. Unfortunately I bought a theme which use Unyson and I have many problems with it. I see this bug was already known to developers since september 2015. If they didn't fixed it until now I think they 'll never do it.

mariap69 avatar Jun 24 '16 06:06 mariap69

Test please: Download and extract in unyson/framework/extensions/shortcodes/extensions/page-builder

ghost avatar Jul 04 '16 11:07 ghost

Nothing is changed

mariap69 avatar Jul 04 '16 12:07 mariap69

@mariap69 Change something in builder and Update the page.

ghost avatar Jul 04 '16 12:07 ghost

ghost avatar Jul 04 '16 12:07 ghost