WebSite X5Help Center

 
DENNIS S.
DENNIS S.
User

Schema markup in header  en

Autor: DENNIS S.
Visitado 263, Followers 1, Compartido 0  

Can anyone help with this problem? When I put a schema markup in the after opening the header section I get the following result with text at the top of my webpage after I upload the page. 

See attached image 

Below is the script I placed in the header section

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"@id": "http://bestfootballhandicapper.com/#webpage",
"url": "http://bestfootballhandicapper.com/",
"name": "Best Football Handicapper – Expert NFL & College Picks",
"description": "Discover the best football handicapper with a proven track record of winning NFL and college football picks. Decades of experience, expert analysis, and results-driven insights to help you beat the spread.",
"publisher": {
"@type": "Organization",
"name": "Best Football Handicapper",
"url": "http://bestfootballhandicapper.com",
"logo": {
"@type": "ImageObject",
"url": "http://bestfootballhandicapper.com/images/logo.png"
}
}
}
</script>

Thanking you in advance for your cooperation

Dennis

Publicado en
6 RESPUESTAS
Daniel W.
Daniel W.
User
Usuario del mes DE

If you want to insert code on all pages, insert it in WebSite X5 under...

    1 Settings > Statistics and Code / Code

        Custom code:

        Before the closing HEAD tag

Leer más
Publicado en de Daniel W.
DENNIS S.
DENNIS S.
User
Autor

Hi Daniel,

That is not feasible because the code is not the same for all pages. The code is JSON LD schema markup for each individual page.

Dennis

Leer más
Publicado en de DENNIS S.
Daniel W.
Daniel W.
User
Usuario del mes DE

To add code for individual pages, select the relevant page in WebSiteX5 under "3 Sitemap" and click on "Properties" at the top, then click the "Advanced" tab and paste the code at:

    Custom code:

    Before the closing HEAD tag

Leer más
Publicado en de Daniel W.
DENNIS S.
DENNIS S.
User
Autor

Daniel, that is exactly what I did and what happens is shown in the attachment I added to my first message above. I can't figure it out because it doesn't happen on any of my other websites? Please advise.

Dennis

Leer más
Publicado en de DENNIS S.
Daniel W.
Daniel W.
User
Usuario del mes DE

Without a link to the website, troubleshooting is impossible.

Is there a typo in the code you pasted?

Have you cleared your browser cache?

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User
Usuario del mes DE

In WebSiteX5, you could hold down the left Ctrl key and click "Preview" at the top, then wait until the progress bar at the bottom has completely finished redrawing the pages.

Then export the entire website to the internet, not just the updated pages.

Leer más
Publicado en de Daniel W.