RankMath conflict with Showcase IDX

#1121638
  • Theo
    Rank Math free

    Hello,
    My real estate website is using the Showcase IDX plugin. Showcase IDX dynamically creates property pages and creates their Title and Meta Description dynamically using the street address and other property specific characteristics. When I enable RankMath, it overrides the Title and Description Showcase IDX has created. Showcase IDX uses one page as a template and creates all property pages dynamically. Is there a way to disable RankMath in a single page only?

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

    We apologize for the issue you are facing with Rank Math conflicting with the Showcase IDX plugin. Unfortunately, Rank Math does not currently offer a built-in feature to disable its functionality on a per-page basis directly from the settings. However, you can achieve this by using a filter in your theme’s functions.php file to disable Rank Math for specific pages.

    Here’s a general approach you can take:

    1. Identify the Page ID: First, find the ID of the page where you want to disable Rank Math. You can find this in the WordPress admin area by hovering over the page title in the Pages list.

    2. Add the Filter: Add the following code to your theme’s functions.php file:

      add_filter( 'rank_math/frontend/meta', function( $meta ) {
         if ( is_page( 'YOUR_PAGE_ID' ) ) {
             return false; // Disable Rank Math for this page
         }
         return $meta;
      });

      Replace YOUR_PAGE_ID with the actual ID of your page.

    This code will prevent Rank Math from outputting any meta tags for that specific page, allowing Showcase IDX to manage its own titles and descriptions without interference.

    If you’re not comfortable making these changes yourself, or if you would like a more comprehensive setup, we recommend considering our Rank Math professional setup service. This service is designed to ensure your plugin setup is fully correct and adheres to the latest SEO standards, especially for complex setups like yours.

    Thank you for raising this concern! If you have any further questions or need additional assistance, please feel free to reply to this ticket, and a human agent will assist you further.

    Sources:
    Can You Use Rank Math Along With Google Site Kit? » Rank Math
    List of Known Plugin Conflicts » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Theo
    Rank Math free

    I added the code you provided to the functions.php file and replaced it with the correct page ID and I am still having problems. When I activate RankMath, RankMatch still appears on the /homes/ page and the Showcase IDX Title and Description are replaced by the generic Title and Description in the /homes/ page. When I disable RankMath the Showcase IDX meta re-appears.

    Hello,

    In this case, you can use and customize a filter to disable all Rank Math’s SEO tags on those pages via post type:

    Here’s the filter to achieve that:

     * Function to disable SEO Tags generated by Rank Math
     */
    function rankmath_disable_features() {
        if(get_post_type() == 'homes') { //change here to match the location pages post type
            remove_all_actions( 'rank_math/head' );
        }
    }
    add_action( 'wp_head', 'rankmath_disable_features', 1 );

    If you’re unsure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.