Hide from search engines
Ask search engines not to index a site until it is ready to be found.
Before you start
- You can open the site in Managed Websites. Anyone who can open a site can change this setting.
- The setting is for Production with its domain attached, which search engines may index unless you hide it.
- Every other environment, and every platform address, is always hidden. There is nothing to set.
Hide a site
Open Search engines
Go to Managed Websites, choose the site, then Domains & HTTPS under Site settings. Search engines is under the list of hostnames.
Choose Hide from search engines
Choose Hide from search engines (noindex), then Save changes.
The site sends X-Robots-Tag: noindex on every response within a few minutes, and the site header shows an icon reading Hidden from search engines (noindex). Visitors still reach the site.
Allow indexing again
Under Search engines, choose Allow indexing, then Save changes. Search engines may index the site again within a few minutes.
On another environment, Domains & HTTPS says its address is never indexed by search engines.
This asks search engines not to list the site. To keep people out, use Password protection or the Firewall.
Automate this
Replaces the list of extra domains and sets whether search engines are asked not to index the site.
curl -X PUT https://manage.corefinity.com/api/corestack/sites/1042/domains \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"aliases": [
"www.harbourandfinch.example.com",
"shop.harbourandfinch.example.com"
],
"noindex": false,
"version": 4
}'Your assistant calls corestack_domains_update.
{
"name": "corestack_domains_update",
"arguments": {
"site_id": 4211,
"version": 3,
"aliases": [
"www.example.co.uk",
{
"host": "guns.example.co.uk",
"serve": "storefront",
"store": {
"code": "guns",
"type": "website"
},
"base_url": true
}
],
"noindex": false
}
}