Join the Webstudio community

Updated 4 weeks ago

How do i set up custom schema. I see 2 others on top of mine

there are 3 x application/ld+json entries. 2 dupes I didnt create and the 3rd one which is mine. Is there documentation on how to edit these generated ones?
Attachment
image.png
A
I
J
20 comments
@Webstudio Team any info on custom schema
Haven't seen duplicates. Probably some bug. Especially if seen in view source i.e. server response.
What's wrong with generated JSON?
It's common to have multiple LD Json sections
How did you add custom LD-JSON?
As far as I know, there's no way to add custom LD-JSON per page
so for the generated ones they are exactly the same
Attachment
image.png
for my personal one i just did this
Attachment
image.png
do i need ot inject my data into the generated ones. if so im not sure how
seems its the same for other sites. minus the duplication of the first one
having 1 in head and one in body seems common. but 2 in head im not seeing anywhere else so far
That's some bug. Haven't seen it before. Otherwise everything else is fine... totally good to do have multiple schemas like your custom one in the body.

My guess is it has something to do with one of the scripts on your site. I see one is adding meta to the body, seems odd but idk if that's the culprit. I'll look and see
Can you dm me a link with clone permissions? I need to publish the site in order to see what's causing it
Or you can do it if you want to take a stab at debugging it
I'd start by hididng all html embeds and publishing to see if that fixes it
If it does, then add one back at a time
DM sent πŸ™‚
This is the culprit. There is a link component and then nested inside that is an html embed that has a link as well. I guess this breaks rendering and causes that duplicate. Just use one of them and it'll work
Attachment
image.png
ah nice. ty πŸ˜„
Add a reply
Sign up and join the conversation on Discord