https://schema.org/ - is #id kept on all the pages of the site - schema.org

I am thinking about how to organize the microdata for my site.
On my home page I declare my organization:
"#id" : "https://www.my.site/#org"
I am thinking to keep this only on my homepage. Can I reference this id on other pages?
"author" : {"#id": "https://www.my.site/#org"}
Is the id saved like a global variable?
Thanks

Related

LocalBusiness & Organization schema together in JSON-LD

I have a local business, I have a blog, and I have services. I'm a digital marketer, you can see my schema here: https://www.sitecentre.com.au (view the source code). Most of it's on the home page, but some is on blog articles are /blog and click an article.
I feel as if I'm doing it wrong.
Schema is really confusing, so Google has announced, don't include Organization schema on every page, it's only needed on one. So, I set the "#id": "https://www.example.com/#Organisation" and I add that schema to the home page only, now where do I put my LocalBusiness? I can set it to "#id": "https://www.example.com/#LocalBusiness".
Then I add WebSite and WebPage to the home page as well.
Now let's say one of my service pages like Hosting.
I don't need LocalBusiness or Organization on this page? Because it's on the home page? Am I right here? So on the Service page I could have Service schema, Review, WebPage but not WebSite, and BreadcrumbList?
The issue is if I then do something like publisher and call the organisation url it fails in the Google Schema Tester because Organization isn't found on that page.
Same goes for the blog. Obviously, on a blog I need to have a publisher like: "publisher": { "#id": "https://www.example.com/#Organisation" }.
This will fail because Organization schema is on the home page. Not the current page.
It gets technical because on the home page Google recognizes only LocalBusiness not Organization because both are on there.
It's hard to workout what to do.
Now if I do something like put all my Organization or LocalBusiness schema on the home page then on blog I put both but with limited data and have the #id pointing to the home page I can pass validation but does this not overwrite the home page or because the #id matches the home page it uses the home page?
Does anyone have an answer? Please don't link me to the definition or some generator. I've read it all. Trust me, I've read IT ALL. The confusion isn't how to write Schema.org or why. It's answering a question based on experience because the answer isn't actually out there.
LocalBusiness is a sub-type of Organization. What this means is you can switch your Organization entity to be a LocalBusiness entity and it will still function as an Organization, with the extra bits that LocalBusiness add.
So you can add a detailed LocalBusiness on the home page that includes all the Organization info and the LocalBusiness info. And give it an id like you suggested:
https://www.example.com/#LocalBusiness
This is how you can reference it from other pages. When you need to reference your business, include a very basic version of the LocalBusiness that includes the type, name, its id and the url. That's enough info needed on those other pages, while also indicating there is more info available about the business under that id and url. e.g.
"publisher": {
"#type": "LocalBusiness",
"#id": "https://www.example.com/#LocalBusiness",
"url": "https://www.example.com/",
"name": "Example Ltd"
}

Set noindex for Google structured data

I'm using multiple blocks of structured data on my website:
<script type="application/ld+json">
{
"#context": "http://schema.org",
"#type": "Event",
"name": "Something",
"url": "http://www.example.com/?id=123"
}
</script>
This will show another bar under the search results of my website to directly visit the page to see more details about the event.
But if providing links like http://www.example.com/?id=123 Google will also show this link as normal link in search results.
But if setting noindex for this webpage Google will also refuse to list the events, won't it?
Does anybody know a solution?
Here's an image what I mean:
Put a canonical link with value http://www.example.com/ on the http://www.example.com/?id=123 page. All pages with query parameters will be merged into http://www.example.com/ regarding rankings.

Can I use two schema markup tag in my website for "location" and "product"

I have already added schema markup for location in my website http://www.academiaerp.com/
But my website is a product so can I add Product Schema Tag also in my website?

Opengraph displaying as One to One - Without Object Title

In my facebook app i have given the necessary meta tags for the open graph url. When i publish a story using open graph, the story is published on the wall as One to One - Without Object Title mode. When i view it in open graph settings, the One to One mode is displayed correctly. I have added a screenshot for better understanding
Answered the same question here Facebook Open Graph Not Showing Object Title
I have a workaround:
To your "school" object add a property "name" of type string.
Edit your story "visited school": In the One to One without object
title change the story to "visited a {school.name} via Eduraft"
from "visited a {school.title} via Eduraft"
Save the changes.
When creating the school object, then along with "title" provide
same string to the property name. Publish the story.
i had the same problem.
i got perfect solution try this:
Change the story of the type "One to One - Without Object Title" as "Object" from "Object.noun".
For e.g: Story sentense would be as follow:
"Tejas ran race with sample."
Here race is my object.
Keep the sentence of story of the type "One to One" as Object.title as it is.
For e.g: "Tejas ran race.title with sample."
Here race is my object.
Thanks,
Tejas

Cookie Redirect For Multiple Categories And Subcategories Under Each Country

Would someone show me how to set cookie redirect for multiple categories and subcategories under each country? I am looking for a drop down menu for this. Thank you.
I have multiple categories and subcategories under each country. Some of the subcategories are base on that country and some are sharing the same subcategories. For example,
Country: US, Canada
mysite.com/news/localnews (content base on location)
mysite.com/health/medicine (share content)
If I go to mysite.com, select "US" and click "News/Local News" it will take me to mysite.com/news/localnews/us page. If I exit then go back to mysite.com and click "News/Local News" it automatically redirect me back to mysite.com/news/localnews/us page.
The selection of "US" will not affect mysite.com/health/medicine page, meaning both US and Canada's users can visit the same page without cookie.