Skip Navigation

[Resolved] Types and Yoast SEO: parent unexpectedly overwrites child SEO data

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by ivoP 9 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#232499

There is a topic named exactly like this one, that you can find here - https://toolset.com/forums/topic/types-and-yoast-seo-parent-unexpectedly-overwrites-child-seo-data/ - , unfortunately there is not a public solution.

I am experiencing the same exact problem of parent type is overwriting children SEO data when doing some change on meta description p.e.

Any ideas how to solve this?

Thanks

#232591

Hi ivoP,

Are you using WPML plugin in your website?
The thread you mentioned above is resolved by update WPML plugin.
If not, please post a downloadable URL for the Yoast SEO plugin, and describe detail steps to duplicate same problem in a fresh wordpress installation. I need debug it in my localhost. thanks

#232597

Hello,

I am using last version (I guess) - 3.1.5.

Let's imagine I have a post-type named animal-type and a child post-type named animal.

I create some posts (with post-type: animal) with his parent on an post (with post-type: animal-type). After that I change the meta description (using Yoast SEO) on the child posts I've just created.

Then, I "realize" that I've been mistaken and I've filled up the wrong meta description for animal-type post. Therefore I go changing the meta description of animal-type.

Unexpectedly, all the child posts of the animal-type I've changed, had their meta changed too.

The link for Yoast SEO plugin: hidden link

Thanks.

#232787

Thanks for the details, I have been able to duplicate same problem in my localhost,

Please try this:
edit the file \wp-content\plugins\wordpress-seo\admin\class-metabox.php
line 683, please it from :

if ( $post_id === null) {

To:

if ( $post_id === null || $post_id != get_the_ID()) {
#232877

Thank you sir.

It's working now.

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.