In short
The homepage is the most linked page on the site and the one that answers searches for your brand. Check that Google and Bing index it under a single URL (the https:// version you chose, with or without www), with no noindex directive and with the canonical you declare. Once the check is done, URL Inspection in Search Console shows “URL is on Google”, the Google-selected canonical is yours, and a search for your brand name brings it up.
Why it matters
Search engines do not index a page just because it exists: they crawl it, read the signals it sends (HTTP status, robots directives, canonical, redirects), then decide which URL to keep. The homepage concentrates external links, internal navigation and brand searches. If it drops out of the index or gets indexed under the wrong URL, the whole site suffers.
The real causes are almost always technical and accidental:
- a
noindexleft in place after launch, or the WordPress checkbox that asks search engines not to index the site; - a
Disallow: /carried over from the staging robots.txt; - an automatic redirect from
/to/fr/based on language or IP address, which leaves Google without a stable root page; - several variants returning 200 (
http://,www,/index.php,/?utm_source=…), so Google picks the canonical itself; - a firewall or CDN that answers bots with a 403 or 503;
- a homepage rendered only in JavaScript, almost empty in the initial HTML.
For generative engines, the consequence is direct. Google states that a page must be indexed and eligible to be shown with a snippet to appear as a link in AI Overviews and AI Mode. Bing powers Microsoft Copilot. ChatGPT Search relies on its own crawler, OAI-SearchBot, which must also be able to read the page. A homepage missing from these indexes is unlikely to be offered as the brand’s official site.
What it improves
- Brand searches The homepage ranks first for your name, with sitelinks when Google decides they are worth showing.
- Indexing of the rest of the site The most linked page is also the main entry point for crawlers to your inner pages.
- Signal consolidation A single canonical URL receives the external links instead of splitting them across variants.
- AI engine answers The page becomes eligible as a source to describe your brand. It is a necessary condition, not a guarantee of being cited.
- Diagnosis A problem on the homepage often reveals a global setting (robots.txt, theme-level
noindex, firewall rule) that affects the whole site.
How to check
1. HTTP status, redirects and headers
curl -sIL https://example.com/ | grep -i -E "^HTTP/|^location:|^x-robots-tag:"
Expected result: a single HTTP/2 200 line, with no x-robots-tag: noindex. Then test the variants: each one must answer with a direct 301 or 308 redirect to the canonical URL.
for u in http://example.com/ http://www.example.com/ https://www.example.com/ https://example.com/index.php https://example.com/index.html; do
printf "%-36s " "$u"; curl -s -o /dev/null -w "%{http_code} -> %{redirect_url}\n" "$u"
done
2. Directives in the HTML
curl -s https://example.com/ | grep -i -o -E '<meta[^>]+name="(robots|googlebot|bingbot)"[^>]*>|<link[^>]+rel="canonical"[^>]*>|<title>[^<]*</title>'
Expected: no noindex, a canonical tag pointing to https://example.com/ (or your www version), and a title that contains the brand name.
3. robots.txt
curl -s https://example.com/robots.txt
No bare Disallow: / line in a group that applies to Googlebot, Bingbot or *. The rules themselves are covered in check robots.txt access and syntax (opens in a new tab).
4. URL Inspection in Google Search Console
Open URL Inspection, paste the homepage URL, then read the “Page indexing” section:
| Field | Expected value |
|---|---|
| Status | “URL is on Google” |
| Crawl allowed? | Yes |
| Page fetch | Successful |
| Indexing allowed? | Yes |
| User-declared canonical | your homepage URL |
| Google-selected canonical | the same URL |
Then click “Test live URL”, then “View tested page”: the HTML and the screenshot must show the page’s real content, not a blank screen or a consent banner on its own.
5. Bing
In Bing Webmaster Tools, open URL Inspection and check that the URL is indexed. Full Bing monitoring is described in check Bing indexing (opens in a new tab).
6. Brand search
Search for your exact brand name in Google and in Bing, in a private window. The homepage must come out on top. The site:example.com operator gives an overview, but it does not return every indexed page and is not proof: rely on URL Inspection.
How to implement
Before you start
Start from the URL Inspection verdict. Each status points to a cause and a fix:
| What the inspection shows | Likely cause | Fix |
|---|---|---|
| “URL marked ‘noindex’” or Indexing allowed? No | noindex tag or header |
remove accidental noindex tags (opens in a new tab) |
| Crawl allowed? No | Disallow in robots.txt |
fix the robots.txt, then test again |
| Page fetch: failed, 403, 5xx | firewall, CDN, server | see the Cloudflare section and check CDN, WAF and anti-bot protection (opens in a new tab) |
| “Page with redirect” | the tested URL is not the canonical one | inspect the destination URL |
| Different Google-selected canonical | accessible variants, inconsistent canonical | redirect the variants, align the canonical tag |
| “Discovered – currently not indexed” or “Crawled – currently not indexed” | page judged low priority or empty content once rendered | check rendering, strengthen the content and the links |
Also settle the homepage’s canonical URL once and for all: https protocol, www or not, with the root’s trailing slash. Redirects are covered in detail in standardize HTTP/HTTPS and www/non-www (opens in a new tab).
Apache
Versions Apache 2.4.
Redirect /index.php and /index.html to the root, in addition to the HTTPS and www redirect. In the root .htaccess or the virtual host:
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
RewriteRule ^ https://example.com%{REQUEST_URI} [R=301,L]
RewriteCond %{THE_REQUEST} \s/+index\.(php|html?)[\s?] [NC]
RewriteRule ^index\.(php|html?)$ / [R=301,L]
Also look for an X-Robots-Tag inherited from another configuration:
sudo grep -rni "x-robots-tag" /etc/apache2/ /var/www/ --include="*.conf" --include=".htaccess"
Reload with sudo apachectl configtest && sudo systemctl reload apache2 (the httpd service on Red Hat, Rocky Linux or AlmaLinux).
Nginx
Versions Nginx 1.18 and later.
server {
listen 80;
listen 443 ssl;
server_name www.example.com;
return 301 https://example.com$request_uri;
}
server {
listen 443 ssl;
server_name example.com;
location = /index.php {
return 301 /;
}
location = /index.html {
return 301 /;
}
}
Add a listen 80 block for example.com that redirects to https://example.com$request_uri, add your certificates, then look for a forgotten header with sudo grep -rn "X-Robots-Tag" /etc/nginx/. Reload with sudo nginx -t && sudo systemctl reload nginx.
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
Three things to check in the dashboard:
- Firewall: open the zone’s Security Analytics, then the “Events” tab, and filter on the path
/and the user agentGooglebotorbingbot. A “Block” or “Managed Challenge” action on a verified bot must be fixed. - Redirects: a redirect rule that sends
/to/fr/based on country or language must be replaced with a crawlable language selector; see avoid forced IP-based redirects (opens in a new tab). - Headers: a response header transform rule can add
X-Robots-Tag. Review the Rules Overview.
WordPress
Versions WordPress 6.4 to 7.1, Yoast SEO and Rank Math plugins in their November 2026 versions.
Settings > Reading: uncheck the search engine visibility box (“Discourage search engines from indexing this site”, wording varies by version). When checked, it addsnoindex, nofollowto every page.Settings > General: the “WordPress Address (URL)” and the “Site Address (URL)” must usehttps://and thewwwversion you chose.- With a static page as the homepage (
Settings > Reading > Your homepage displays), open that page in the editor and check its indexing setting in Yoast SEO (Advanced tab, “Allow search engines to show this content in search results?” must not be set to No) or Rank Math (Advanced tab, Robots Meta: Index).
Shopify
Versions Shopify admin, all plans, November 2026.
A store in private mode, protected by a password, cannot be crawled. At launch, open the Online Store page in the admin, click the “Private” access label, select “Public”, then confirm (the button reads “Launch store” the first time). The password itself is managed in Online Store > Preferences, in the store access section. In Settings > Domains, check that your primary domain is the one you want indexed: Shopify redirects the other connected domains and the myshopify.com address to it.
Wix
Versions Wix Editor and Wix Studio, all plans, November 2026.
In the dashboard, open the SEO dashboard, then Tools and settings > Go to SEO Settings: the “Let search engines index your site” option must be enabled. Also check the homepage’s SEO settings in the editor.
Squarespace
Versions Squarespace 7.1, all plans, November 2026.
In the homepage’s page settings, SEO tab, the option that hides the page from search engines must be turned off. A site still in private mode or protected by a password cannot be indexed.
Laravel
Versions Laravel 11 to 13.
Do not let a language middleware redirect / based on Accept-Language without providing a stable root page. If the root must point to a language, do it with a fixed permanent redirect and index the destination page:
Route::permanentRedirect('/', '/fr');
Also check that no middleware adds X-Robots-Tag in production, for example through a condition on app()->environment() that is misconfigured in the production .env (APP_ENV=production).
Next.js
Versions Next.js 15 and 16 (App Router).
Check the robots metadata of the root layout and of app/page.js:
// app/layout.js
export const metadata = {
metadataBase: new URL('https://example.com'),
alternates: { canonical: '/' },
robots: { index: true, follow: true },
};
A robots: { index: false } set in app/layout.js applies to every page. Also check the proxy.js file (named middleware.js up to Next.js 15, a convention deprecated since Next.js 16): redirecting / based on the browser language causes the same problem as with Laravel.
Request crawling after the fix
Once the cause is fixed, run “Test live URL” again in URL Inspection. If the test passes, click “Request indexing”. Do the same in Bing’s URL Inspection. Reindexing takes from a few hours to a few days for a homepage; there is no point repeating the request.
Common mistakes
- Relying on
site:example.com: the operator does not list every indexed page, and its ordering says nothing about the selected canonical. - Testing the URL without
httpsor without thewwwyou chose: you inspect a redirected variant and wrongly conclude that the homepage is not indexed. - A 302 redirect from
/to/fr/: the root is left in limbo and Google may choose either one. - Blocking the homepage in robots.txt to “hide” maintenance: use a temporary 503 status instead.
- Forgetting Bing: Copilot and other services rely on its index, which is separate from Google’s.
- A homepage that is empty without JavaScript: the main text and links must be in the rendered HTML; see inspect the initial HTML (opens in a new tab).
- Requesting indexing before fixing the problem: the request is refused or has no effect as long as the live test reports a block.
Frequently asked questions
How do I know if Google has indexed my homepage?
Open URL Inspection in Google Search Console and paste the exact address of your homepage, with the right protocol and subdomain. The status “URL is on Google” confirms indexing. Also check that the Google-selected canonical is identical to the one you declare. The site: operator gives an overview, but it is neither exhaustive nor reliable as proof.
Why does Google index the http or www version of my homepage?
Google picks a canonical URL among the variants that return 200. If http://, the www version and the non-www version are all accessible, it may keep the one you do not want. Redirect each variant with a 301 to the chosen URL, align the canonical tag and internal links, then request a new crawl in URL Inspection.
My homepage disappeared from Google overnight: what should I do?
First look for a recent technical change: a noindex directive added by a theme or plugin, a staging robots.txt pushed live, a firewall rule blocking Googlebot, a modified redirect. URL Inspection shows whether crawling or indexing is refused. Fix the cause, run the live test again, then request indexing. Also check the Manual actions report in Search Console.
Does the homepage need to be indexed in Bing to appear in Copilot?
It is strongly recommended. Microsoft Copilot relies on Bing’s index for its web-grounded answers, and that index is separate from Google’s. Check the URL in Bing Webmaster Tools’ URL Inspection. Being indexed does not guarantee any citation in a generative answer, but a page missing from the index has practically no chance of being offered as a source.
Resources
- Google: URL Inspection toolsupport.google.com
- Google: Page indexing reportsupport.google.com
- Google: Block indexing with noindexdevelopers.google.com
- Google: AI features and your websitedevelopers.google.com
- Google: Consolidate duplicate URLsdevelopers.google.com
- Bing Webmaster Tools: helpbing.com
- OpenAI: Overview of OpenAI crawlersdevelopers.openai.com
Updated on
Topic checklist (PDF)