How to Fix a Value for the URL Field Is Required on Blogger

Closeup of magnifying glass on error.

Have you encountered the same error (see error image below) when testing your structured data using Google's Structured Data Testing Tool and implemented workarounds you found on the internet but still didn't fix the error?

A Value for The URL Field is Required Error

Here's my solution which I created through code experimentation

<div itemprop='image' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
Paste the code below under the above code:
<meta expr:content='data:post.url' itemprop='url'/>

Here's what the final result will look like:

URL Field Is Required Solution

Preview your theme first, if it looks good then save your theme.

Now go back to the Structured Data Testing Tool to check. That's my solution, I hope it helps!

By the way, I have already asked this at Webmaster Central Help Forum with the title How to fix this error, "A value for the URL field is required."?

4 Comments

Your voice matters. Discussions are moderated for civility before being published on the blog. Read my comment policy here.

  1. Sir, I am lay man in removing error. Please hep me in removing this error as I am using wordpress and not able to find the code which you have given in your post

    ReplyDelete
    Replies
    1. Hello, unfortunately, the code above works only with Blogger/Blogspot. Kindly visit this WordPress post hoping it will resolve your problem: https://isabelcastillo.com/image-microdata-wordpress-thumbnail-images.

      Delete
  2. Replies
    1. If you want to join MGID you can join through this link https://bit.ly/33UJ84X

      Delete
Previous Post Next Post