How do I fix a missing field URL in Google Search Console?

Please help me. Google search console says I have a missing field url. Here is the current header in

header.liquid … Should this be replaced? If so, with what piece of code? Thank you. See below:

{% if section.settings.show_announcement %} {% if section.settings.home_page_only == false or template.name == 'index' %} .announcement-bar { background-color: {{ section.settings.announcement_color_bg }}; }

.announcement-bar–link:hover {
{% assign brightness = section.settings.announcement_color_bg | color_brightness %}

{% if brightness <= 192 %}
{% assign lightenAmount = 255 | minus: brightness | divided_by: 255 | times: 16 %}
background-color: {{ section.settings.announcement_color_bg | color_lighten: lightenAmount }};
{% else %}
{% assign darkenAmount = 255 | divided_by: brightness | times: 8 %}
background-color: {{ section.settings.announcement_color_bg | color_darken: darkenAmount }};
{% endif %}
}

.announcement-bar__message,
.announcement-bar__close {
color: {{ section.settings.announcement_color_text }};
}

{% if section.settings.announcement_link == blank %}

{% else %} {% endif %}

{% endif %}
{% endif %}

    {% for link in linklists[cur_menu].links %}
    {% if link.links != blank %}
    {% assign parent_index = forloop.index %}

  • {{ link.title | escape }}
  • {% else %}
  • {{ link.title | escape }}
  • {% endif %} {% endfor %}
  • {% include 'search-bar', animate: true, disableTab: true, mobi: false %}
{{ 'general.header.expand_navigation' | t }}
{% endif %}

Hi there,

Sounds like your theme is missing the structured data Google is looking for to award you Rich Results. It’s a search enhancement that makes your search result more appealing. The URL is required to receive the Logo / Organization search enhancement.

If you want to email me at support@ilanadavis.com or share your URL here and I can do a free structured data audit for your store to see if JSON-LD for SEO could help. Based on your question, I would guess yes but I wouldn’t know for sure without seeing the site.

Hi Ilana, here is the URL: https://yogigranola.com/

Thank you.

Hey @yogigranola ,

I think JSON-LD for SEO will help your store. While testing your store’s structured data I found a few areas of concern.

If you’d like to test your store for yourself, here’s how to do that:
https://www.ilanadavis.com/articles/test-json-ld-code-shopify

  • The error is in fact because your business data (Organization) is very limited only showing your logo. It should include your URL, company name, address, phone, etc. This will make it very difficult for you from getting any kind of Google Knowledge Graph Card about your business in the search results. It’s that large box you see on the right of the search results from time to time.

  • Your products are missing critical data which is required to get Rich Results or any other search enhancement. For example, name, price, etc. Some product data is showing in your product reviews app, however, the app has a history of poorly coded structured data and could be risky to depend on a reviews app for all product structured data.

  • Only one variant of your products is shown, instead of all of your variants which will prevent you from showing the full price ranges and could show wrong product availability (e.g. show an in-stock product as out-of-stock to searchers).

  • Your product reviews are showing up but they aren’t fully “linked” to your product structured data. That means you might get your reviews into the search results OR the product price/availability, but not both. When they are linked properly you can get all 3.

  • The WebSite data is missing which is sometimes used to get a sitelink search box which would add a search field to your homepage results like
    https://www.ilanadavis.com/articles/sitelinks-search-using-json-ld-for-seo-shopify

  • Your Shopify Pages are missing some of the critical data which is needed to get Rich Results for your pages.

  • Your Recipes are missing the critical data which is needed to get Recipe Rich Card. This is not automatic with JSON-LD for SEO, but we do support adding structured data using metafields.

JSON-LD for SEO will automatically add structured data for all of these during the install. I think it could help your performance in the search results.

Here’s a link to install it from the Shopify App Store: https://apps.shopify.com/json-ld-for-seo

Let me know if you have any other questions. If you do decide to install, I’d be happy to have you as a customer.