How to add address field to LocalBusiness structured data?

#348451
  • Resolved Premier Range
    Rank Math free

    We just set up RankMath a few days ago, and SEMRush is complaining that some structured data is missing fields. This is not breaking anything, but makes our SEO score go down and my boss unhappy 🙂

    SEMRush complains for every page on our WP installation that “1 structured data items on this page are invalid”, and specifies the data type “Local Business” and field “address”.

    I can see in the Source of our pages that RankMath adds a script block with JSON format schema containing several object definitions, WebPage, Article etc. Only one looks like a business definition and sure enough it doesn’t have an ‘address’ field. I can’t post the JSON here, it causes this support ticket attempt to be blocked by Cloudflare.

    Two questions,
    1 What would it take to add an ‘address’ field to this object?
    2 How can we edit the ‘openingHours’ seen here?

    I have been through the Setup wizard a second time, and looked around the various Settings, and cannot see anywhere to edit these fields.

    Thanks!
    Nick

Viewing 4 replies - 1 through 4 (of 4 total)
  • An example of the JSON schema the plugin puts on our pages (missing the ‘address’ field):

    {
    "@type": [
    "HomeGoodsStore",
    "Organization"
    ],
    "@id": "https://www.premierrange.co.uk/blog/#organization",
    "name": "Premier Range",
    "url": "https://www.premierrange.co.uk/blog",
    "openingHours": [
    "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday 09:00-17:00"
    ]
    }

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have checked the link https://www.premierrange.co.uk/blog/about-us with Google Rich Results Testing Tool and found 3 warnings under the Local Business section:

    1. Missing field “address”
    2. Missing field “telephone”
    3. Missing field “priceRange”

    These missing field warnings could be coming from Rank Math’s Local SEO section.

    To add the missing fields, navigate to your WordPress Dashboard > Rank Math > Titles & Meta > Local SEO.

    Please fill in the details there to fix these warnings.

    Please note, that some options are only available when you enable the Advanced Mode in Rank Math.

    If the options are not available, you must have chosen to use the Easy Mode. Please follow the steps from our Knowledge Base article to switch to Advanced Mode:
    https://rankmath.com/kb/advanced-mode/

    Do let us know how that goes. Looking forward to helping you further.

    Thank you.

    Thanks Kamlesh, you were right on the money, I found the Local SEO page with your help and filled in those fields (and a few others) and the rich results test now shows the fields filled in, and SEMRush has stopped complaining about the Error of missing fields in structured data.

    Great support from your team so far, cheers!
    Nick

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me 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 do 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘How to add address field to LocalBusiness structured data?’ is closed to new replies.