Jump to content

Doesn't work schema.org/website


simutea131

Recommended Posts

Hello,

I want to add schema.org/website script to my webpage header.tpl. My website is https://superbox.lt/

When I put script (look below) in header.tpl, the page doesn't work and it show an error „This page isn‘t working. superbox.lt is currently unable to handle this request. HTTP ERROR 500“.

<script type="application/ld+json"> {"@context": "http://schema.org", "@type": "WebSite", "url": "http://www.superbox.lt/", "potentialAction": { "@type": "SearchAction", "target": "http://www.superbox.lt/search?search_query={query}", "query-input": "required name=query"}} </script>

Code of schema.org/Product already exists at product.tpl file and it works good.

Maybe someone can help?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...