-
Hello,
I created my own Schema Markup for an entire site and I would like to use Rank Math for import my customized Schema.
Actually, i’ve Schema Markup and SEO local “fonctionnalities” turned on but the automated Schema for any “Types of publication :” are on “None”. So actually, EVERY pages have Schema on “Off” but when I inspect About Page, Contact Page and Homepage, which are mentionned in the SEO local fonctionnaly, I can see schema markup for local SEO.
How to remove them ? I would like to keep the locations sitemap so It would be great if I can avoid disable SEO local fonctionnality.
Kind Regards,
Benoît
-
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.
Could you please share the affected URLs so we can check as well?
Meanwhile, you can use and customize the filter in our guide here to remove the automatic schema coming from the Local SEO feature:
https://rankmath.com/kb/remove-organization-schema/Looking forward to helping you.
Thank you.
Hi,
The website is still under maintenance mode.
if i follow your recommandation by applying the filter to remove automatic Schema coming from the local SEO feature, can I add my custom schema right after ?
Isn’t the easiest solution to just simply disable the local SEO function, even if I lose the sitemap-locations ?
Thank you.
Hello,
You can apply the filter we mentioned in that tutorial to remove the Organization Schema from your website and that will still allow you to add your own custom Schema markup without any issues.
Simply removing the Local SEO module won’t completely remove the Schema that is automatically generated by our plugin so we recommend the usage of the filter.
Also, if you need to remove any additional Schema, please let us know exactly what properties or types you are trying to remove and we can modify the filter accordingly.
Thank you.
Hello,
I’m encountering the same problem on my personal website, even though I’m not using the Local SEO module. I want to only have my custom schema and not have yours added automatically.
For instance, on my homepage: https://benoitlievre.fr/
Below is the complete schema on my webpage currently. I’ve marked my custom schema with the note: My custom schemas:. I’d like to disable the part before this.
How can I achieve this ? I add numerous schemas for my clients, and I’m looking for an effective solution suitable for all types of businesses.
If the solution is specific to the @type used, I’ll just disable Schema module and use GTM.
{
“@context”: “https://schema.org”,
“@graph”: [
{
“@type”: [
“Person”,
“Organization”
],
“@id”: “https://benoitlievre.fr/#person”,
“name”: “Benoit Lièvre”,
“logo”: {
“@type”: “ImageObject”,
“@id”: “https://benoitlievre.fr/#logo”,
“url”: “https://benoitlievre.fr/wp-content/uploads/2023/03/cropped-benoit-lievre-logo-150×55.png”,
“contentUrl”: “https://benoitlievre.fr/wp-content/uploads/2023/03/cropped-benoit-lievre-logo-150×55.png”,
“caption”: “Benoit Lièvre”,
“inLanguage”: “fr-FR”
},
“image”: {
“@type”: “ImageObject”,
“@id”: “https://benoitlievre.fr/#logo”,
“url”: “https://benoitlievre.fr/wp-content/uploads/2023/03/cropped-benoit-lievre-logo-150×55.png”,
“contentUrl”: “https://benoitlievre.fr/wp-content/uploads/2023/03/cropped-benoit-lievre-logo-150×55.png”,
“caption”: “Benoit Lièvre”,
“inLanguage”: “fr-FR”
}
},
{
“@type”: “WebSite”,
“@id”: “https://benoitlievre.fr/#website”,
“url”: “https://benoitlievre.fr”,
“name”: “Benoit Lièvre”,
“publisher”: {
“@id”: “https://benoitlievre.fr/#person”
},
“inLanguage”: “fr-FR”,
“potentialAction”: {
“@type”: “SearchAction”,
“target”: “https://benoitlievre.fr/?s={search_term_string}”,
“query-input”: “required name=search_term_string”
}
},
{
“@type”: “ImageObject”,
“@id”: “https://benoitlievre.fr/wp-content/uploads/2023/09/benoit-lievre-photo-profil.png”,
“url”: “https://benoitlievre.fr/wp-content/uploads/2023/09/benoit-lievre-photo-profil.png”,
“width”: “200”,
“height”: “200”,
“inLanguage”: “fr-FR”
},My custom schemas :
{
“@type”: “WebPage”,
“@id”: “https://benoitlievre.fr/#webpage”,
“url”: “https://benoitlievre.fr/”,
“name”: “Benoît Lièvre : Consultant SEO passionné et fondateur iRank”,
“datePublished”: “2023-03-23T07:04:25+00:00”,
“dateModified”: “2023-09-10T01:01:08+00:00”,
“about”: {
“@id”: “https://benoitlievre.fr/#person”
},
“isPartOf”: {
“@id”: “https://benoitlievre.fr/#website”
},
“primaryImageOfPage”: {
“@id”: “https://benoitlievre.fr/wp-content/uploads/2023/09/benoit-lievre-photo-profil.png”
},
“inLanguage”: “fr-FR”
},
{
“url”: “https://benoitlievre.fr/”,
“@id”: “https://benoitlievre.fr/#webpage”,
“relatedLink”: “https://benoitlievre.fr/contact/”,
“significantLink”: [
“https://benoitlievre.fr/a-propos/”,
“https://benoitlievre.fr/services/”,
“https://benoitlievre.fr/redacteur-web-seo/”,
“https://benoitlievre.fr/consultant-seo/”
],
“inLanguage”: “fr-FR”,
“mentions”: [
{
“@type”: “service”,
“@id”: “https://benoitlievre.fr/services/#service”
},
{
“@type”: “webPage”,
“@id”: “https://benoitlievre.fr/consultant-seo/#webpage”,
“url”: “https://benoitlievre.fr/consultant-seo/”,
“name”: “Consultant SEO : tout savoir sur le métier du référencement”
},
{
“@type”: “webPage”,
“@id”: “https://benoitlievre.fr/redacteur-web-seo/#webpage”,
“url”: “https://benoitlievre.fr/redacteur-web-seo/”,
“name”: “Qu’est-ce qu’un rédacteur Web SEO et à quoi sert-il ?”
}
],
“potentialAction”: “submit enquiry form”,
“isPartOf”: {
“@type”: “WebSite”,
“name”: “Benoît Lièvre : Consultant SEO”,
“@id”: “https://benoitlievre.fr/#website”,
“about”: {
“@type”: “Thing”,
“name”: “search engine optimization”,
“@id”: “https://www.wikidata.org/wiki/Q180711”
},
“publisher”: {
“@id”: “https://benoitlievre.fr/#person”
}
},
“mainEntity”: {
“@type”: “OnlineBusiness”,
“name”: “Benoît Lièvre : Consultant SEO”,
“@id”: “https://benoitlievre.fr/#person”,
“description”: “Benoît Lièvre est un consultant SEO passionné par le référencement naturel et fondateur de iRank. Il a développé ses compétences et ses connaissances en autodidacte et avec des années d’expérimentation. Depuis 3 ans, il met à profit son expertise pour aider les entreprises, des plus petites aux plus grandes, à développer leur visibilité en ligne en améliorant le classement de leur site web dans les pages de résultats des moteurs de recherche (SERP).”,
“sameAs”: “https://fr.linkedin.com/in/benoit-lievre-consultant-seo”,
“knowsAbout”: {
“@id”: “https://benoitlievre.fr/services/#service”
},
“founder”: {
“@type”: “Person”,
“name”: “Benoît Lièvre”,
“@id”: “https://benoitlievre.fr/a-propos/#person”,
“knowsAbout”: {
“@type”: “Thing”,
“name”: “search engine optimization”,
“alternateName”: “seo”,
“@id”: “https://www.wikidata.org/wiki/Q180711”
},
“jobTitle”: “Consultant SEO”,
“sameAs”: [
“https://fr.linkedin.com/in/benoit-lievre-consultant-seo”,
“https://www.facebook.com/benoit.lievre.71/”,
“https://www.malt.fr/profile/benoitlievre”,
“https://www.superprof.fr/consultant-referencement-naturel-seo-passionne-pret-aider.html”
],
“affiliation”: {
“@type”: “Organization”,
“name”: “iRank”,
“description”: “En 2023, Benoit Lièvre crée sa propre agence digitale iRank qui propose des services de marketing internet tels que le SEO, la rédaction de contenus web mais également de la création de sites web et du webdesign. Avec un domaine de prédilection dominant, le SEO, l’agence priorise toutes ses actions vers une métrique fondamentale pour les entreprises : générer des revenus.”,
“founder”: “Benoît Lièvre”,
“url”: “https://irank.fr/”
},
“hasCredential”: {
“@type”: “EducationalOccupationalCredential”,
“name”: “Master en marketing digital”,
“credentialCategory”: “Mémoire de recherche”,
“description”: “Le Search Engine Optimization et les Petites et Moyennes Entreprises”,
“recognizedBy”: {
“@type”: “EducationalOrganization”,
“name”: “Inseec Business School de Paris”,
“url”: “https://www.inseec.com/”
},
“url”: “https://www.researchgate.net/publication/370609192_Memoire_de_Recherche_sur_le_Search_Engine_Optimization_SEO”
},
“image”: {
“@type”: “ImageObject”,
“url”: “https://benoitlievre.fr/wp-content/uploads/2023/09/benoit-lievre-photo-profil.png”
}
},
“areaServed”: [
{
“@type”: “Country”,
“name”: “France”,
“@id”: “https://www.wikidata.org/wiki/Q142”
}
],
“url”: “https://benoitlievre.fr/”,
“telephone”: “+33672357497”,
“email”: “b************@g********”
}
}
]
}Hello,
These are the default schema added by Rank Math on your website and the only way to remove them is by using the following filter on your site:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) { if (isset( $data['publisher'] ) ) { unset( $data['publisher'] ); } unset($data['WebSite']); unset($data['ImageObject']); return $data; }, 99, 2);
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Â
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.
The ticket ‘How to disable automated schema Markup from SEO local plugin’ is closed to new replies.