Using RankMath with Multisite Headless Setup & Custom Blocks

#590059
  • Resolved Anonymous
    Rank Math free

    We are evaluating using RankMath pro with our multisite headless WP setup. There are a few questions I’d like to learn more about:

    1. For internal link analysis, is there a way to specify a specific domain / url pattern for each sub-site? The WP edit domain is not the same as our public domain (example: Edit domain = at.apartmenttherapymedia.com, public domain = http://www.apartmenttherapy.com)?

    2. For image analysis: we use an in-house created custom block for single images and galleries, we do not use the native WP Media Library. Is there a way to configure RankMath to evaluate our custom image blocks as opposed to native WP blocks?

    3. We have our own custom fields for things like social and meta title optimization. Is there a way to hide these fields in RankMath and also block the output?

    Thanks,
    Vijay
    VP, Product @ Apartment Therapy Media

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

    Thank you for reaching out to us and bringing your concern to our attention.

    1. At the moment, the Content Analysis is more focused on the backend side where you compose your content, so depending on where you have installed Rank Math, Rank Math can only assess the content there.

    2. Rank Math will not be able to read custom blocks by default. For our Content Analysis to read your block, you would need to implement our Content Analysis API. Please refer to this guide: https://rankmath.com/kb/content-analysis-api/

    3. Can you please confirm if you wish to remove the meta from the website’s frontend generated by Rank Math in favor of your own custom field? If so, you may refer to our filter code here to remove or change them: https://rankmath.com/kb/filters-hooks-api-developer/#metadata

    Here’s an example to disable a meta title:

    add_filter( 'rank_math/frontend/title', function( $title ) {
    	return false;
    });

    Alternatively, you can utilize this variable %customfield(FIELD_NAME_HERE)% to retrieve the value from your custom field and use it as your meta information so you don’t have to hide or remove our meta on the frontend.

    Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.

    Anonymous
    Rank Math free

    Hi Jeremy,

    Thanks for the reply.

    1.Understood, that’s where I’m hoping to look. If RankMath provides internal link analysis, can we specify which domain / URL patterns it should look for (i.e. by internal links we mean “www.apartmenttherapy.com” and “www.thekitchn.com”)

    2. thanks! will check out the API

    3. yes, that’s correct, thanks!

    Hello,

    Unfortunately, Rank Math’s content analysis can only detect the internal links coming from where the WordPress installation is. This is the same case in a multisite environment.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Using RankMath with Multisite Headless Setup & Custom Blocks’ is closed to new replies.