Structured Data in AMP

Viewing 15 replies - 1 through 15 (of 32 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The structured data testing tool is reporting that your page template is not loading the breadcrumb data correctly, here is a screenshot:
    IMG

    To fix this, you can either turn off the breadcrumb functionality across your site by disabling this through Rank Math > General Settings > Breadcrumbs or you can add this code on your page templates to force the generation of breadcrumbs:

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
    OR 
    [rank_math_breadcrumb]

    I hope this info helps. Thank you.

    ​​​​​​​

    The problem with the BreadcrumbList is only on the AMP main page. There is no problem on the usual main page. And tell me, please, what kind of structured data is missing on the category pages: https://search.google.com/test/amp?id=kU6wv_RKbtt5EkhhSPFZdQ

    • This reply was modified 4 months, 3 weeks ago by  Andrey.

    Hello,

    The category page does not report any errors on the Amp page which makes this a bit odd. Here is screenshot of the structured data test result:
    IMG
    It looks like your amp pages are producing breadcrumb list schema data inconsistently. Another option would be to disable the breadcrumb list schema using this code in your functions.php file:

    /**
     * Allow developer to disable the breadcrumb json-ld output.
     *
     * @param bool $unsigned Default: true
     */
    add_filter( 'rank_math/json_ld/breadcrumbs_enabled', '__return_false' );

    I hope this info helps.

    I also do not quite understand the category pages. But there is a warning. I think the category pages lack the structured data. On the main page there is: Blog, on the pages of the entry: BlogPosting, and on the pages of categories there is no such thing. Maybe this is a problem?

    HI Andrey,

    Thanks for the response.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    Temporary Login Without Password

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    WP Security Audit Log

    We really look forward to helping you.

    Hello.
    Regarding structured data, I also wrote in support of the Accelerated Mobile Pages plugin. Maybe it’s on their side.
    I noticed a new problem with your plugin. I use the Extra (Elegant Themes) theme. It displays the main page through the setting: An Extra Theme Layout. If the home page is displayed like this, then the following is not added: meta name = “description”, meta property = “og: title”, meta property = “og: url”. If you set the home page output setting: Your recent entries, everything is displayed. And should there be a “link rel = canonical” tag, because I don’t have it on the main page.

    Hi there,

    Thanks for the follow up.

    When you are setting your homepage to a static page, you will need to modify the meta information by editing the homepage through the Rank Math metabox. Please head over to RM metabox > Social tab and check whether the social meta has been set. You can also check whether the canonical URL has been set via the advanced tab as shown below:
    IMG

    I hope this info helps.

    Hello.
    The thing is that the main page is not static.
    https://drive.google.com/file/d/1wGtEgGWOgtlZK5Eb0g01EDq2q2ja-5K3/view?usp=sharing
    I understand that the Extra theme displays the main page, as in the WordPress settings: Your recent posts. Maybe I’m wrong, but the main page is definitely not static.
    The Extra theme is made so that it can be assembled with the help of a builder.
    https://drive.google.com/file/d/10FPjSrWCe7h7ZuSJZtuEaF4tsm9Qy-S5/view?usp=sharing
    https://drive.google.com/file/d/1YqkKLxQsGeoi-dlVFFCDsXpHiKewe8yd/view?usp=sharing
    But there is no Meta Box of your plugin.
    https://drive.google.com/file/d/1GYm33ZhrfpUI9css3aqBRzIq2ZfEpbXn/view?usp=sharing
    I tried to enable it in all settings, but there it does not appear. I tried to include in your WordPress settings: your last entries, then meta name = “description”, meta property = “og: title”, meta property = “og: url” are added. But I need an Extra homepage. Maybe you look and add in the following updates the Meta Box module in the Edit Category Layout.

    Hi there,

    Thanks for the follow up and the clear explanation.

    Is this category page listed under the tabs in Rank Math > Titles and Meta? If you can find it then you can easily toggle the option show the Rank Math metabox on this page.

    If you do not mind I would be happy to login to your site and advise about this.

    Thanks.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I included everything, but Meta Box does not turn on. I give the entrance to the panel. Look at this site. Login to builder: Extra> Category builder> Default Category.

    Hello,

    The Rank Math Metabox only appears on the post types which are publicly visible.

    I don’t see any use of having Rank Math metabox in Category builder Post type, still, if you want to show it then please use extra_layout_post_type_args filter ( this is extra theme filter use to change post type args ) and change the public & publicly_queryable values. You can add below code in your theme’s functions.php file:

    
    add_filter( 'extra_layout_post_type_args', function( $args ) {
      $args['publicly_queryable'] = true;
      $args['public'] = true;
      return $args;
    });
    

    After setting these values to true, the Category Layouts tab will appear under Post types wherein you can manage the Rank Math settings.

    Hope that helps. Thank you.

    Hello.
    When I added your code, Metabox Rank Math was added, but it displays nothing on the page. This is the tab builder home page and heading pages. And it turns out that displays what is configured on the tab home page in Rank Math. But when the main page is generated by the Extra theme builder, Rank Math does not display all the data. How can you get out of this situation?

    Hello,

    I could not log in to your site anymore with the provided link. It’s redirecting me to the homepage where a popup is shown asking for the username and password. Please see the screenshot I added in the Sensitive Data Section.

    Looking forward to helping you. Thank you.

Viewing 15 replies - 1 through 15 (of 32 total)

The ticket ‘Structured Data in AMP’ is closed to new replies.