Hello,
I apologize for the inconvenience you are facing with the schema format in the local SEO module. To set the "hasmap" property to a meaningful link like your Google My Business (GMB) URL, you can follow these steps:
- Navigate to WordPress Dashboard → Rank Math SEO → Titles & Meta → Local SEO.
- Enter the correct geo-coordinates for your business location. These are used to generate the map link.
- Save your changes.
If you are still experiencing issues with the schema output affecting your visibility in "near me" searches, please ensure that the geo-coordinates are accurate and saved correctly. Additionally, you can consider adding multiple "areaServed" cities to your LocalBusiness Schema to enhance your local SEO presence.
If the problem persists or you need further assistance, please provide more details or screenshots of the issue so we can better assist you.
Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this matter for you.
Kind regards.
Sources:
How to Create a KML Sitemap Using Rank Math » Rank Math
Configuring “Schema Markup” in Rank Math » Rank Math
How to Create Multiple Locations (with Schema) Using Rank Math » Rank Math
Add Multiple "areaServed" Cities to Your LocalBusiness Schema » Rank Math
Your automated answer is wrong.
hasMap should link to a map, not just coordinates.
hasMap property should be a direct link to the Google CID Number (Customer ID Number), this is an important identifier that business owners and webmasters should know – it helps Google match entities found by crawling structured data with entities in GMB.
Hello,
Thank you for contacting support.
If you want to include the URL of the GMB profile it should be added inside the sameAs
property as the hasMap
should be a Google Map instance: https://support.google.com/webmasters/thread/43061103/adding-google-my-business-link-to-structured-data?hl=en
If you want to add the GMB profile to the sameAs
property you can add that link under WordPress Dashboard > Rank Math SEO > Titles & Meta > Social Meta > Additional Profiles.
Don’t hesitate to get in touch if you have any other questions.
I don’t want to include the GMB URL, I want to include the GMB ‘Map’ URL instead of a useless one which just refers to coordinates.
A GMB map URL links to the business location, not just some random coordinates.
“Adding, for all the reconciled entities, the hasMap property with a direct link to the Google CID Number (Customer ID Number), this is an important identifier that business owners and webmasters should know – it helps Google match entities found by crawling structured data with entities in GMB”
https://wordlift.io/blog/en/schema-markup-to-boost-local-seo/
I know this works because I have other sites ranking for ‘near me’ by using the Google Maps CID URL.
Hello,
The coordinates are not useless if they point to your business location, however, if you want to change the hasMap
property you can edit the following filter with the relevant data for your website:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset($data['publisher']) ) {
$data['publisher']['hasMap'] = 'Your data here';
}
return $data;
}, 99, 2);
Don’t hesitate to get in touch if you have any other questions.
Gracias! Esto es lo que necesitaba
Hello,
Glad that we could be of assistance.
If you have any other questions don’t hesitate to get in touch.
By the way, your Spanish is very good 😉
Hello,
We are glad that everything has been sorted out.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
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.