Membership Only Pages and Paywall Content

  • We’re currently building a website that will have some content behind a paywall and we’re looking at ensuring that we can adhere to Googles Paywall and Subscription recommendations: https://developers.google.com/search/docs/data-types/paywalled-content.

    Does your plugin account for this already with WooCommerce Memberships? If not, is there a filter for the json-ld output on a per page basis as well as filter the xml to make sure our members-only products still get indexed and the data structure is properly adhered to?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Jeff,

    Thanks for getting in touch with us.

    We do not have the support for that sort of Schema. Sorry.

    I have contacted our dev. team and if there is a workaround – we will let you know.

    Hello,

    You can use following filter to include the paywalled content in the schema data: https://rankmath.com/kb/filters-hooks-api-developer/#change-post-schema-data

    Here is an example of how to add it in the Article schema:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        $entity['hasPart'] = [
            '@type'               => 'WebPageElement',
            'isAccessibleForFree' => "False",
            'cssSelector'         => '.paywall',
        ];
    });
    

    I hope that helps.

    thank you!

    • This reply was modified 2 weeks, 3 days ago by Jeff Payne.

    Hello Jeff,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do 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 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this ticket.