Publishing

Google Search Console

See how your Contito site performs in Google search, on your own domain or subdirectory.

Google Search Console shows which searches bring people to your site, how many times your pages appear, and which pages Google has indexed.

It reports on addresses, so a Contito site appears there like any other site on the same domain.

Search Console's numbers come from Google's own search data.

They don't depend on Contito's Analytics or on any script on your pages, so the two never conflict.

What Contito already does

Contito handles the technical setup on every site:

What it does
Canonical URLEvery page tells Google its preferred address.
sitemap.xmlLists every page, on the preferred address.
robots.txtPoints search engines to the sitemap.
noindex on extra addressesA site reachable at more than one address is indexed only at the preferred one.

The preferred address

Contito picks the preferred address for you, most "owned" first:

The order Contito picks the preferred address in: verified custom domain, then connected subdirectory, then the contito.org subdomain

  1. A verified Custom Domain
  2. A connected Subdirectory
  3. The Subdomain on contito.org

Adding a custom domain or a subdirectory moves Google over to it.

You change nothing by hand.

Search Console doesn't support sites on a contito.org subdomain. Google still indexes them, but you can't add them to Search Console. Connect your own domain or a subdirectory first. Pages Google already indexed on the subdomain move to your address on their own.

Set up with a custom domain

For a site at www.acme.com or acme.com.

  1. Finish connecting the domain in Contito until it shows Domain Verified. Until then, pages still point Google at the subdomain.
  2. In Search Console , add a Domain property for acme.com. One Domain property covers www, the root domain, http and https.
  3. Verify it with the TXT record Search Console gives you. Add it at your DNS provider, in the same place as the record for Contito.
  4. Open Sitemaps and submit your sitemap address, such as https://www.acme.com/sitemap.xml. Use the domain you connected.
Already have a Domain property for acme.com? Skip steps 2 and 3. Your Contito site appears in it automatically.

If the site was indexed on its contito.org address before, there's nothing extra to do.

The old address now carries noindex and points Google to your domain, and Google moves the pages over as it recrawls. This takes a few weeks.

Don't use Search Console's Change of Address tool. It moves between two properties you own, and you can't add the contito.org subdomain as one.

Set up with a subdirectory

For a site at www.acme.com/blog, where your main website is hosted elsewhere and Contito serves /blog through your Cloudflare Worker.

  1. Finish the Subdirectory setup, then open https://www.acme.com/blog once in a browser. The subdirectory becomes the preferred address on that first visit.
  2. In Search Console, use the property of your main site. A Domain property for acme.com is best. If you have one, the blog already shows up in it.

Point Google to the blog's sitemap

This step is easy to miss.

Google reads robots.txt only at the root of a domain, so it ignores the one Contito serves at /blog/robots.txt.

Add this line to your main site's robots.txt, the one at https://www.acme.com/robots.txt that your main site serves:

text
Sitemap: https://www.acme.com/blog/sitemap.xml

Keep the lines already there. A robots.txt can list several sitemaps.

You can also submit https://www.acme.com/blog/sitemap.xml under Sitemaps in Search Console, or do both.

Check that the same robots.txt has no Disallow: /blog line. It would block Google from the whole blog.

See the blog's numbers

Open the Performance report and filter by Page containing /blog.

Add a link to the blog in your main site's menu, and a link back from the blog.

Links both ways help Google treat them as one site.

You don't need a separate property for the blog.

If you want one anyway, add a URL prefix property for https://www.acme.com/blog exactly, with no slash at the end. Contito serves the blog's home page without the trailing slash.

Your main site and the blog each keep their own analytics. Search Console is the one place where both appear together.

Check that it worked

  • Run URL Inspection on any page. User-declared canonical shows your preferred address. After Google crawls the page, Google-selected canonical matches it.
  • The Sitemaps report shows your sitemap as Success, with the number of pages found.
  • Performance data starts a few days after verification. New pages take longer to be indexed.

Troubleshooting

Pages show as "Excluded by 'noindex' tag"

Google crawled them on an address that isn't the preferred one, such as the contito.org subdomain after you added a domain.

This is expected. Nothing to do.

"Duplicate, Google chose different canonical than user"

This is normal for a few weeks after switching addresses.

If it stays, check in Contito that your custom domain shows Domain Verified, or your subdirectory shows Connected.

"Sitemap could not be read" on a subdirectory

Open https://www.acme.com/blog/sitemap.xml in a browser.

If it doesn't load, your Worker's route isn't covering /blog. Check the route in Cloudflare against the Route shown in Contito.

Blog pages don't appear at all on a subdirectory

Check your main site's root robots.txt: it needs the Sitemap: line for the blog, and no Disallow: /blog.