llVn0YjMLG9Y1gAZwSUYezIfBPNnRB1JIi7LpqAJ

How to Fix the 'URL Field Is Required' Error in Blogger

Fix the "A value for the URL field is required" error on Blogger. Learn how to correct your structured data for better search visibility.
Closeup of magnifying glass on error.

Ever tried testing your website’s structured data with Google’s tool, only to get hit with a stubborn error message (like the one below)? Even worse is when you’ve already tried every "fix" you found on Google and the error still won't budge.

If you're stuck in that loop, you're definitely not alone. I ran into this exact problem recently, and it can be incredibly frustrating to get everything right on the backend only to have the validator fail.

URL field required

I spent quite a bit of time experimenting with different tweaks to my code before I finally hit on the right combination. After a lot of trial and error, I finally found the exact fix that works! Here is the solution that cleared those errors for good:

<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 required solution

Once you’ve previewed your theme and everything looks good, go ahead and hit save.

Now, head back to the Structured Data Testing Tool to run one last check. This fix finally cleared things up for me, and I’m hopeful it’ll do the same for your site!

I first shared this solution a while back on the Webmaster Central Help Forum. If that "A value for the URL field is required." error sounds familiar, you might have even come across my post on the subject while searching for a fix!

Post a Comment
Please read our comment policy guidelines before posting.