Google error: Logos - Missing field URL

Solved
Highlighted
Tourist
10 0 0

Hi,

I am having a error message from Google search console saying "Missing field URL".

My store url: www.gadgetngearstore.com

What lines should be changed to fix the error.

Thank you!

 

Capture.PNG

0 Likes
Highlighted
Shopify Partner
1027 215 470

@gadgetngearstor 

 

Yes, Your theme need to include following code:

<meta itemprop="url" content="{{shop.secure_url}}" />
<meta itemprop="name" content="{{shop.name}}" />

If you not comfortable to add this code then share me header.liquid file code here. I will edit the code and send it again.

You can check the result here https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fgadgetngearstore.com

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
Highlighted
Tourist
10 0 0
<header class="site-header">     
  {% if section.settings.display_top_bar %}   
  <div class="top_bar top-bar-type-6">    
    <div class="top-text-container header-top">
      <a href="javascript&colon;void(0)" class="close"><i class="zmdi zmdi-close"></i></a>
      <div class="container">
        {% if section.settings.header_promo_label != blank  %}
        <ul class="top_bar_left">      
          <li><a href="{{section.settings.header_promo_link}}"><span>{{ section.settings.header_promo_label }}</span></a></li>
        </ul>
        {% endif %}    
      </div>
    </div>
  </div>   
  {% endif %}
 
 
  <div class="grid--full site-header__menubar"> 
    <div class="container">
      <div class="menu_icon_section">
        <div class="header_top">
          {% if template == 'index' %}
          <h1 class="grid__item wide--two-sixths post-large--two-sixths large--two-sixths site-header__logo" itemscope itemtype="http://schema.org/Organization">
            {% else %}
            <div class="h1 grid__item wide--two-sixths post-large--two-sixths large--two-sixths site-header__logo" itemscope itemtype="http://schema.org/Organization">
              {% endif %}
              {% if settings.logo_use_image %}
              <a href="/" style="max-width: {{ settings.logo_max_width }}px;">
                <img class="normal-logo" src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" itemprop="logo">
              </a>
              {% else %}
              <a class="logo_name" href="/">{{ shop.name }}</a>
              {% endif %}
              {% if template == 'index' %}
              </h1>
            {% else %}
            </div>
          {% endif %}   
          {% if section.settings.top_promo_image_1 != blank %}
          <div class="grid__item wide--four-sixths post-large--three-sixths large--four-sixths small--hide promo_img">                
            {% if section.settings.top_promo_link_1 != blank %}
            <a href="{{ section.settings.top_promo_link_1 }}">
              {% endif %}
              <img src="{{ section.settings.top_promo_image_1 | img_url: 'master' }}" />
              {% if section.settings.top_promo_link_1 != blank %}
            </a>
            {% endif %}                              
          </div>
          {% endif %}
        </div>
        <ul class="menu_bar_right grid__item wide--two-sixths post-large--two-sixths">
          {% if section.settings.display_search %}                
          <li class="header-search large--hide medium-down--hide">
            <div class="slidersearch">
              <form action="/search" method="get" class="search-bar__table-cell search-bar__form" role="search">
                   <input type="hidden" name="type" value="product">  
                <input type="text" id="search" name="q" value="{{ search.terms | escape }}" placeholder="{{ 'general.search.placeholder' | t }}" aria-label="{{ 'general.search.placeholder' | t }}" class="search-bar__input sb-search-input">
                <button class="sb-search-submit" type="submit" value=""><i class="fa fa-search"></i></button>
              </form>
            </div>
          </li>
          {% endif %}
 
          {% if section.settings.display_search %}  
          <li class="header-search wide--hide post-large--hide">
            <div class="header_toggle"><span class="zmdi zmdi-search"></span></div>
            <div class="slidersearch">              
              <form action="/search" method="get" class="search-bar__table-cell search-bar__form" role="search">
                  <input type="hidden" name="type" value="product">  
                <input type="text" id="search" name="q" value="{{ search.terms | escape }}" placeholder="{{ 'general.search.placeholder' | t }}" aria-label="{{ 'general.search.placeholder' | t }}" class="search-bar__input sb-search-input">
                <button class="sb-search-submit res_btn" type="submit" value=""><i class="fa fa-search"></i></button>
              </form>
            </div>
          </li>
          {% endif %} 
 
          {% if settings.display_currency %} 
          <li class="header_currency">
            <ul class="tbl-list">
              <li class="currency dropdown-parent uppercase currency-block">                       
                {% include 'currencies-switcher' %}                      
              </li>
            </ul>
          </li> 
          {% endif %}
          {% if section.settings.display_minicart %}
          <li class="header-bar__module cart header_cart">               
            {% include 'mini-cart' %}                    
          </li> 
          {% endif %}
          <li>
            <div class="header-mobile">
              <div class="menu-block visible-phone"><!-- start Navigation Mobile  -->
                <div id="showLeftPush">
                  <i class="fa fa-bars" aria-hidden="true"></i>
                </div>
              </div><!-- end Navigation Mobile  --> 
            </div> 
 
          </li>
        </ul>
        {% if section.settings.top_promo_image_1 != blank %}
        <div class="grid__item wide--hide post-large--hide large--hide medium--hide small--show promo_img">              
          {% if section.settings.top_promo_link_1 != blank %}
          <a href="{{ section.settings.top_promo_link_1 }}">
            {% endif %}
            <img src="{{ section.settings.top_promo_image_1 | img_url: 'master' }}" />
            {% if section.settings.top_promo_link_1 != blank %}
          </a>
          {% endif %}                                            
        </div>
        {% endif %}
      </div>
    </div>
  </div>
</header>
 
<style> 

 


0 Likes
Highlighted
Tourist
10 0 0

This is the header code. Can you please tell me where to put the code you send

0 Likes
Highlighted
Shopify Partner
1027 215 470

This is an accepted solution.

@gadgetngearstor 

 

Replace your <header> code with following:

<header class="site-header">     
  {% if section.settings.display_top_bar %}   
  <div class="top_bar top-bar-type-6">    
    <div class="top-text-container header-top">
      <a href="javascript&colon;void(0)" class="close"><i class="zmdi zmdi-close"></i></a>
      <div class="container">
        {% if section.settings.header_promo_label != blank  %}
        <ul class="top_bar_left">      
          <li><a href="{{section.settings.header_promo_link}}"><span>{{ section.settings.header_promo_label }}</span></a></li>
        </ul>
        {% endif %}    
      </div>
    </div>
  </div>   
  {% endif %}
 
 
  <div class="grid--full site-header__menubar"> 
    <div class="container">
      <div class="menu_icon_section">
        <div class="header_top">
          {% if template == 'index' %}
          <h1 class="grid__item wide--two-sixths post-large--two-sixths large--two-sixths site-header__logo" itemscope itemtype="http://schema.org/Organization">
            {% else %}
            <div class="h1 grid__item wide--two-sixths post-large--two-sixths large--two-sixths site-header__logo" itemscope itemtype="http://schema.org/Organization">
              {% endif %}
              {% if settings.logo_use_image %}
              <a href="/" style="max-width: {{ settings.logo_max_width }}px;">
                <img class="normal-logo" src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" itemprop="logo">
              </a>
              {% else %}
              <a class="logo_name" href="/">{{ shop.name }}</a>
              {% endif %}
              {% if template == 'index' %}
<meta itemprop="url" content="{{shop.secure_url}}" />
<meta itemprop="name" content="{{shop.name}}" />
              </h1>
            {% else %}
            </div>
          {% endif %}   
          {% if section.settings.top_promo_image_1 != blank %}
          <div class="grid__item wide--four-sixths post-large--three-sixths large--four-sixths small--hide promo_img">                
            {% if section.settings.top_promo_link_1 != blank %}
            <a href="{{ section.settings.top_promo_link_1 }}">
              {% endif %}
              <img src="{{ section.settings.top_promo_image_1 | img_url: 'master' }}" />
              {% if section.settings.top_promo_link_1 != blank %}
            </a>
            {% endif %}                              
          </div>
          {% endif %}
        </div>
        <ul class="menu_bar_right grid__item wide--two-sixths post-large--two-sixths">
          {% if section.settings.display_search %}                
          <li class="header-search large--hide medium-down--hide">
            <div class="slidersearch">
              <form action="/search" method="get" class="search-bar__table-cell search-bar__form" role="search">
                   <input type="hidden" name="type" value="product">  
                <input type="text" id="search" name="q" value="{{ search.terms | escape }}" placeholder="{{ 'general.search.placeholder' | t }}" aria-label="{{ 'general.search.placeholder' | t }}" class="search-bar__input sb-search-input">
                <button class="sb-search-submit" type="submit" value=""><i class="fa fa-search"></i></button>
              </form>
            </div>
          </li>
          {% endif %}
 
          {% if section.settings.display_search %}  
          <li class="header-search wide--hide post-large--hide">
            <div class="header_toggle"><span class="zmdi zmdi-search"></span></div>
            <div class="slidersearch">              
              <form action="/search" method="get" class="search-bar__table-cell search-bar__form" role="search">
                  <input type="hidden" name="type" value="product">  
                <input type="text" id="search" name="q" value="{{ search.terms | escape }}" placeholder="{{ 'general.search.placeholder' | t }}" aria-label="{{ 'general.search.placeholder' | t }}" class="search-bar__input sb-search-input">
                <button class="sb-search-submit res_btn" type="submit" value=""><i class="fa fa-search"></i></button>
              </form>
            </div>
          </li>
          {% endif %} 
 
          {% if settings.display_currency %} 
          <li class="header_currency">
            <ul class="tbl-list">
              <li class="currency dropdown-parent uppercase currency-block">                       
                {% include 'currencies-switcher' %}                      
              </li>
            </ul>
          </li> 
          {% endif %}
          {% if section.settings.display_minicart %}
          <li class="header-bar__module cart header_cart">               
            {% include 'mini-cart' %}                    
          </li> 
          {% endif %}
          <li>
            <div class="header-mobile">
              <div class="menu-block visible-phone"><!-- start Navigation Mobile  -->
                <div id="showLeftPush">
                  <i class="fa fa-bars" aria-hidden="true"></i>
                </div>
              </div><!-- end Navigation Mobile  --> 
            </div> 
 
          </li>
        </ul>
        {% if section.settings.top_promo_image_1 != blank %}
        <div class="grid__item wide--hide post-large--hide large--hide medium--hide small--show promo_img">              
          {% if section.settings.top_promo_link_1 != blank %}
          <a href="{{ section.settings.top_promo_link_1 }}">
            {% endif %}
            <img src="{{ section.settings.top_promo_image_1 | img_url: 'master' }}" />
            {% if section.settings.top_promo_link_1 != blank %}
          </a>
          {% endif %}                                            
        </div>
        {% endif %}
      </div>
    </div>
  </div>
</header>

Cheers,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
Highlighted
Tourist
10 0 0

Thank you very much! I just copied and pasted. Do I need to change anything in your code?

0 Likes
Highlighted
Shopify Partner
1027 215 470

@gadgetngearstor 

 

No, just copy and paste! Let me know still if it does not work for you.

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
Highlighted
Tourist
3 0 0

@Tejas_Nadpara Would you be able to do the same for me? Happy to reach out to you directly if required.

0 Likes
Highlighted
New Member
9 0 0

can you help me in fixing my logo missing field url? the theme is Minimal

0 Likes
Highlighted
Shopify Partner
1027 215 470

@albertog77 

 

Yes, sure! send me your store URL directly on my mail.

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes