How to Fix Missing homeLocation for Person Schema

How to Fix Missing homeLocation for Person Schema

 In Structured Data

When you are seeing items with errors in Google Search Console Structured Data report for itemtype Person Schema Markup, that means you need to find a way to fix that issue to have a perfectly Structured WordPress site.

Because we need to keep in mind that Google is not the only search engine that can understand Schema Markup.

Search Console Report Shows This

Missing homeLocation Items with Errors in Search Console
Missing homeLocation Items with Errors in Search Console shows a screenshot of Structured Data report in Google Webmaster Tools

However, fixing the issue can be easy, having said that, finding the unique techniques required may not be, this is due to different WordPress setups that use different techniques for inserting .

For example: your site may be using format, or, format. You could be using plugins, or, you could be using a Theme that inserts Person itemtype, or even, you could be using Person itemtype for forum members, or comment leavers for your WordPress Blog posts.

That is Why Its Smart to Find a Long Term Solution

A solution that will not only fix the errors shown in Google Structured Data items with errors for Person data type, but do so make sure that they don’t come back in the future.

First of all, I got some sample codes for WordPress CMS built sites that you may just grab and modify according to your own WordPress requirements. Or simply tweak the sample PHP codes if you are using other types of Content Management Systems like or .

Sample Codes as shown in the Video Tutorial can be

Solution for WordPress Comments That Use Person Itemtype

If your WordPress site uses

itemscope itemtype="https://schema.org/Person"

For commenting system, then you may consider this video lesson coupled with sample codes and use RankYa Comment Schema Plugin (.zip version) that handles the missing homeLocation issues as detailed in this video lesson:

I’ve worked very hard to find this solution for my own WordPress comment section, because to automate this process I had to create my own WordPress plugin that asks the commenter for Country location information when they leave comments which in-turn fixes homeLocation items with errors as shown in Google Search Console.

Webmaster Tools User Interace for Structured Data Report
Webmaster Tools User Interace for Structured Data Report shows a screenshot of Structured Data report in Google Webmaster Tools

If your WordPress site is also using Person itemtype for its comment section as outlined in the above video session, then you will need to find ways to insert the outlined piece of information so that Google Search Console doesn’t complain.

Recommended Posts
Showing 2 comments
  • Desainavirss
    Reply

    what should i use this plugin for fix any matter of problem that happened to missing homelocation?

    • RankYa
      Reply

      I strongly feel that you should explore different ways for fixing missing homeLocation errors in Google Search Console because there could be many different reasons for Google Structured Data feature to show these errors. However, if your site is built on WordPress, and the errors are for ‘Person’ coming from comment section of your WordPress site. Then you can use this plugin which allows you to add “Country” information (for past comments, you can use the commenter IP to determine that) which the plugin then inserts this information using missing homeLocation error like others suggest.

Leave a Comment

0

Start typing and press Enter to search

Google Search Console Structured Data Error Missing homeLocationStructured Data Tutorials by RankYa