Hello,
We apologize for the issue you are facing. Thank you for raising your concern regarding the JSON-LD schema for your landing pages.
Since you are using Rank Math with Local SEO enabled, you are correct that you should avoid duplicating the LocalBusiness schema. Below is a sample JSON-LD schema that includes both the WebPage
and LocalBusiness
types tailored for a real estate agency offering transfer services for restaurants:
{
"@context": "https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg",
"@type": "WebPage",
"name": "Transfer Services for Restaurants in Barcelona",
"description": "Offering reliable transfer services for restaurants in Barcelona.",
"url": "https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg",
"mainEntity": {
"@type": "LocalBusiness",
"@id": "https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg",
"name": "Real Estate Agency Name",
"image": "https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Barcelona",
"addressRegion": "Catalonia",
"postalCode": "08001",
"addressCountry": "ES"
},
"telephone": "+34-123-456-789",
"openingHours": "Mo-Fr 09:00-17:00",
"priceRange": "$",
"servesCuisine": ["Spanish", "Mediterranean"],
"url": "https://img.youtube.com/vi/-VwqOHPxi4M/maxresdefault.jpg"
}
}
Explanation of the Schema:
- @context: Defines the context of the schema, which is Schema.org.
- @type: Specifies the type of the schema, in this case,
WebPage
and LocalBusiness
.
- name: The title of your landing page.
- description: A brief description of the services offered.
- url: The URL of your landing page.
- mainEntity: This contains the details of your local business, including name, address, telephone, and other relevant information.
Make sure to replace placeholders like Real Estate Agency Name
, address details, and URLs with your actual information. You can validate this JSON-LD using Google’s Rich Results Test to ensure it meets their guidelines.
If you have any further questions or need additional assistance, please reply to this ticket, and a human agent from our support team will be happy to help you further!
Sources:
How to Use Schema Templates in Rank Math PRO » Rank Math
How to Import JSON-LD Schema Markup With Rank Math » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.