Site Code: Schema, robots and Sitemap

The three files a new site needs so Google understands it

Three files generated in the browser and pasted into your site. Local business schema: fill a short form and get JSON-LD that makes Google show opening hours, address, phone and rating next to the result, with types that match common Israeli businesses, from a hair salon to a law firm. robots.txt: which pages stay out of search, plus a one-click option to block the models that train on your content, without touching Google crawling. And the sitemap: a list of pages becomes a valid sitemap.xml, with proper escaping of URLs that carry parameters, which is exactly what gets hand-written maps rejected. It all runs on your machine, and no business detail is sent to a server.

Frequently asked questions

Where does the schema code go?

Inside a script tag on the home page or the contact page. Every site builder lets you paste custom code, usually in an area called custom HTML or Custom Code.

What is the difference between robots.txt and a sitemap?

robots.txt tells Google what not to crawl, and the sitemap tells it what exists and is worth crawling. Both sit at the root of the site, and neither replaces the other.

Does blocking AI models actually work?

It is a request crawlers honour voluntarily, not a lock. The major crawlers do honour it today, but anyone who ignores it will simply ignore it. Real protection needs a block at the server.

Why was the sitemap I wrote by hand rejected?

Usually over a single character: an ampersand inside a URL with parameters, which has to be written a particular way in XML. The tool does that for you, and also drops duplicates and trailing slashes.

Do I have to submit the sitemap to Google?

It is worth it. Upload it to the root of the site, add it to robots.txt, then submit the URL in Search Console. That speeds up crawling of new pages.

More tools you might need

All tools in AI Website Builders