local seo deactivation option

  • Hello, already having a personalized script for my local business create with metadata google, ending up with two localbusiness metadata the one that you proposed does not please me and is not complete enough for me, I would like to deactivate it and keep the one I personalized

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

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

    To disable the Local SEO module from Rank Math you just need to go to the WordPress Dashboard > Rank Math plugin Dashboard and there look for the Local SEO & Google Knowledge Graph section and deactivate it.

    I have attached a screencast so you can see how to do it:
    https://i.rankmath.com/twsS4B

    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.

    Hi Todd, thank you for your answer but your solution also completely deactivates the metadata part for each page that I could customize with rank match, I only want to deactivate the local SEO part

    Hello,

    Thank you for contacting Rank Math today.

    You can make use of the following code snippet to remove the Rank Math schema data from the homepage:

    /**
     * Code to remove json+ld data
     * 
     */
    add_action( 'rank_math/head', function() {
    	global $wp_filter;
    	if ( isset( $wp_filter["rank_math/json_ld"] ) && is_home()) {
    		unset( $wp_filter["rank_math/json_ld"] );
    	}
    });

    Looking forward to helping you. Thank you.

    ​​​​​​

    Good evening thank you, where should I enter the code?

    Michael Davis, I inserted the code in function (child theme) I don’t see a change it always appears in the metadata test of google

    Hi Redka,

    Just to be sure, is active the child theme? Also, if it is and you still don’t see changes on your page, could you remove any cache data you could have? (Like in a cache plugin or even in the Cloudflare cache (if you are using it).

    Also, the instructions I gave you above will ONLy disable the Local SEO part of the plugin. Rest of the Schema is handled by the Rich Snippets module that can be enabled or disabled separately:
    null

    Moreover, wouldn’t it be easier to disable the custom script you have and let Rank Math handle the Local SEO Schema anyway? Or, is there something stopping you from doing that?

    Looking forward to helping you. Thank you.

    Hello, thank you I have just re-read your proposal to deactivate local SEO, why I prefer to keep the solution personalized because yours and more based on an organization, lacks the possibility of indicating to the client the currency, the payments accepted, the overall score of the site, a customer review with the overall rating. However, I checked the google business box. in any case you answered my request and thank you for agreeing to close in resolved

    Hello Redka,

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

The ticket ‘local seo deactivation option’ is closed to new replies.