Double OG URL

#16931
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

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

    Kindly allow me to consult the developer on this, someone will get back to you on the same.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Also, is there, or could there be a way to turn off schema items in general. If it doesn’t exist already, an advanced area to control every schema item individually or complete groups for twitter, Facebook, etc., or schema types. Maybe even a property to avoid conflicts. Might be a bit much though.

    Todd
    Rank Math free

    Hello,

    You can disable Schema by disabling the Rich Snippets module:
    disable rich snippets

    You can remove OG tags by using this code in your theme’s functions.php file:

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

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

    Perfect,
    Thank you.

    Hello,

    You are most welcome. 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/?rate=5#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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Double OG URL’ is closed to new replies.