Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Rank Math automatically adds the LocalBusiness Schema to your whole site once you enter the details inside the WP Dashboard > Rank Math > Titles & Meta > Local SEO. You can use the filter in this link to remove the schema being applied from the Local SEO settings:
https://rankmath.com/kb/remove-organization-schema/
Please try using that and further customize it as per your requirements. After applying the code, please also clear your website cache and see if it reflects on the front end of your website.
Let us know how this goes.
Thank you.
Hi Reinelle,
I followed the instructions in the documentation and unfortunately, it didn’t work. It also added a banner on top of the website with the code snippet.
I created the rank-math.php file and added the code.
Please see the print screen.
Sorry where do I add a print screen?
Hello,
You can share screenshots using https://imgbb.com/
Please make sure that you are adding the opening PHP tag(<?php
) in the rank-math.php
file as shown in this screenshot:
I hope this helps.
Looking forward to helping you.
My bad I didn’t include the PHP tag. Thank you it worked!
Hello,
We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us 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 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.