Does Google crawl links found in structured data ?

Written by

in

The goad of this test is to check if Googlebot crawls the URLs found in the structured data.

I’ve to do this test because for technical reason on a website it’s pretty hard to use the canonical URL in the structured data.

So let’s check this with this new test !

I’ll put an event: each time a PHP page is visited, I’ll receive an email, with the IP address and the User agent. That’s the best way to check what I’ve to check.

I’ll actually check 2 things:

  • Does Googlebot crawl the URL found in the structured data
  • Does Googlebot crawl also the URL of destination after the redirect

To do this I could also use log file, but it’s pretty fun to do it with PHP/Gemini

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "L'avenir du SEO test 2: la video test qui n'est en fait qu'une page qui envoi un email",
  "description": "Ces données structurées contiennent des URLs qui envoient un email quand elles sont visitées",
  "uploadDate": "2025-08-08",
  "duration": "PT8S",
  "contentUrl": "xxx//email-me-if-visited.php?test=videoobject-contentUrl",
"embedUrl": "xxx//email-me-if-visited.php?test=videoobject-embedUrl",
  "thumbnailUrl": [
        "xxx//email-me-if-visited.php?test=videoobject-1x1-photo.jpg",
        "xxx//email-me-if-visited.php?test=videoobject-4x3-photo.jpg",
        "xxx/email-me-if-visited.php?test=videoobject-16x9-photo.jpg"
       ],
  "author": {
    "@type": "Person",
    "name": "Quentin Adt"
  }
}
</script>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *