• Resolved barnez

    (@pidengmor)


    Hi,

    I have the SEO Framework installed on 6 sites. On one site only I’m receiving the following warning from Google Search Console:

    Blocked due to access forbidden (403):
    https://www.sitename.com/search/{search_term_string}/

    Is this something to ignore, to fix through the plugin settings, or does it require some other tinkering?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    Google crawls anything that remotely looks like a URL. In this case, we use Schema.org syntax to identify Sitelinks search box, and they crawled the syntax URL: https://developers.google.com/search/docs/appearance/structured-data/sitelinks-searchbox.

    Their example script also uses search_term_string:

    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "url": "https://www.example.com/",
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://query.example.com/search?q={search_term_string}"
        },
        "query-input": "required name=search_term_string"
      }
    }
    </script>

    You probably have a firewall enabled that blocks brackets ({}) in the URL. You can safely ignore the issue and keep the firewall running as-is — Google’s crawler doesn’t recognize Schema.org structured data; it only forwards whatever it found to their actual structured data parser (which doesn’t test the URLs given).

    Thread Starter barnez

    (@pidengmor)

    Thank you for the detailed explanation.
    I have a the 7G firewall rules in .htaccess, which may well be blocking those curly brackets. However, as there is no negative impact on SEO I’ll go ahead and ignore this warning.
    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blocked due to access forbidden (403): search/{search_term_string}/’ is closed to new replies.