product category videos

#652414
  • Resolved Hesam Hamidi
    Rank Math free

    hi
    I have some videos in product category.
    but rank math not add thats in video sitemap. and not create video schema for that.
    is that not should be automatically?

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

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

    Please note that Rank Math only auto-detects the video for single pages/posts/products. It doesn’t work for the taxonomy pages. So, if you want to add Video Schema on your product category pages then you’ll have to do it manually by using the schema generator in the Rank Math SEO Meta box.

    Once you add the Video Schema on your product category page, it will automatically get included on your video sitemap.

    In case, you’re not able to find the Schema tab in your product category page’s Rank Math SEO Meta box, please head over to your WordPress Dashboard > Rank Math > Titles & Meta > Product Category, and from there make sure the Remove Snippet Data option is disabled.

    However, it seems like you purchased the plugin with some other email address. Can you please share the email address that you used to purchase the plugin or you can search and forward the receipt from FastSpring.com so we can locate your account?

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    hello @rakibuzzamann
    thanks for your answer
    i send email to my website manager and when she send Purchase email and Purchase details, i update Sensitive Data.
    please note i cant disable Remove Snippet Data, because in that reason i give many structured data problems.
    please see this image to understand : https://pasteboard.co/htJSlZ1Tif1I.jpg
    are you have idea about this?

    Hello,

    Thank you for your patience.

    In this case, you may need to use this filter to remove the product schema only applied to your product categories pages:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if( is_product_category() ) {
            unset($data['ProductsPage']);
        }
        return $data;
    }, 99, 2);

    And here’s a guide to adding the filter to your website:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Hesam Hamidi
    Rank Math free

    hello @reinelle-b thanks for your answer!
    i add all video schemas in my product category pages. this is correct, but videos not add in my website video sitemap.
    are you have any ideas for this?

    Hello,

    Please try to follow the steps below and see if that works for you:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. If the above steps don’t seem to work, kindly apply the following filter to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes.

    Thank you.

    Hesam Hamidi
    Rank Math free

    i did number 1 rule. after that i did number 3 rule (add code in code snippets pro ). but if you check Sensitive Data; you will see the example product category videos not add to video sitemap.

    Hello,

    We deeply apologize for the confusion earlier. Unfortunately, right now Rank Math doesn’t include the videos from the taxonomies pages in the video sitemap. It only works for the single post types.

    With that said, if this is something we can include in the future, we will announce it on our communication channels and on the changelog page:
    https://rankmath.com/changelog/

    Please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Hesam Hamidi
    Rank Math free

    thanks!

    Hello,

    We are super happy that we could address your concern.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this ticket.