Google Search Console error: Unparsable structured data

#66518
  • Resolved Nc
    Rank Math free

    Hi,

    I am receiving the following error on google search console:

    Unparsable structured data >> Incorrect value type “@id”

    Looking at the code I can find that “@id” is found only here:

    “mainEntityOfPage”:{“@type”:”WebPage”,”@id”:false}

    What do you suggest I do?

Viewing 5 replies - 16 through 20 (of 20 total)
  • I am trying to get support too.

    Hello,


    @Wayne
    Could you please open a new support ticket to avoid confusion and add your WP Logins in the designated sensitive section so we can look at your site too.


    @Nc
    Sorry for the confusion. The data in the sensitive section is only accessible to the staff. Our dev team are checking on your issue and will get back to you.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Nc
    Rank Math free

    Any news on this issue?

    Nc
    Rank Math free

    Any news? As you know I opened this case 2 weeks ago…

    Hello,

    Sorry for not following up quickly and any inconvenience that might have been caused due to that.

    The WP Multilang team has added the compatibility code in their plugin so you don’t need to add it again from your theme using the wpm-config.json file. There were 2 issues in your schema:

    1) They @type was showing language prefix: This was caused because the wrong value is stored in wp_options table in the rank-math-options-titles field. The value for the type was stored with the language prefix. I think you updated the Setting before adding the WP Multilang configuration settings? To fix this, I’ve reset the Rank Math >> Titles Settings and that seemed to have fixed the issue.

    2) The WebPage @id shows false:
    add_filter( 'rank_math/frontend/canonical', function( $canonical ) { $canonical = false; return $canonical;});

    This code in your theme’s functions.php file is causing the problem. Why have you added this code? Rank Math uses canonical URL in @id and since you are setting it to false, the id is showing false. Please remove the code, and that will fix the issue.

    I hope that helps.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 16 through 20 (of 20 total)

The ticket ‘Google Search Console error: Unparsable structured data’ is closed to new replies.