What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 3 questions

Less than 30 seconds. Find out how much you really know about Google search.

🕒 ~30s 🎯 3 questions 📚 SEO Google

Official statement

Fragment identifiers (URLs with #) are completely ignored for indexing. Google treats them as links to the same page. They do not affect rankings or featured snippets. Google may sometimes use them to create cleaner snippets pointing to a specific section.
47:29
🎥 Source video

Extracted from a Google Search Central video

⏱ 1h03 💬 EN 📅 15/10/2020 ✂ 26 statements
Watch on YouTube (47:29) →
Other statements from this video 25
  1. 2:16 Pourquoi vos données Search Console ne racontent-elles qu'une partie de l'histoire ?
  2. 3:40 Faut-il arrêter d'optimiser pour les impressions et les clics en SEO ?
  3. 12:12 Le mobile-first indexing ignore-t-il vraiment la version desktop de votre site ?
  4. 14:15 Pourquoi le délai de vérification mobile-first indexing crée-t-il des écarts temporaires dans l'index Google ?
  5. 14:47 Faut-il afficher le même nombre de produits mobile et desktop pour l'indexation mobile-first ?
  6. 20:35 Un redesign léger peut-il déclencher une pénalité Page Layout ?
  7. 23:12 Le CLS n'est pas encore un facteur de classement — faut-il quand même l'optimiser ?
  8. 24:04 Comment Google réévalue-t-il la qualité globale d'un site quand les tops pages restent bien classées ?
  9. 27:26 Les liens sans texte d'ancrage ont-ils vraiment de la valeur pour le SEO ?
  10. 29:02 Pourquoi certaines pages mettent-elles des mois à être réindexées après modification ?
  11. 29:02 Faut-il vraiment utiliser les sitemaps pour accélérer l'indexation de vos contenus ?
  12. 31:06 Un sitemap incomplet ou obsolète peut-il vraiment nuire à votre SEO ?
  13. 33:45 Peut-on vraiment héberger son sitemap XML sur un domaine externe ?
  14. 34:53 Faut-il vraiment que chaque version linguistique ait sa propre canonical self-referente ?
  15. 37:58 Le fil d'Ariane structuré améliore-t-il vraiment votre classement SEO ?
  16. 39:33 Les fils d'Ariane HTML boostent-ils vraiment le crawl et le maillage interne ?
  17. 41:31 L'âge du domaine et le choix du CMS influencent-ils vraiment le classement Google ?
  18. 43:18 Les backlinks sont-ils vraiment moins importants qu'on ne le pense pour ranker sur Google ?
  19. 44:22 Google ignore-t-il vraiment le contenu caché au lieu de pénaliser ?
  20. 45:22 Faut-il vraiment être « largement supérieur » pour grimper dans les SERP ?
  21. 48:03 Les fragments d'URL cassent-ils vraiment l'indexation des sites JavaScript ?
  22. 50:07 Les mots dans l'URL ont-ils encore un impact réel sur le classement Google ?
  23. 51:45 Faut-il vraiment lister toutes les variations de mots-clés pour que Google comprenne votre contenu ?
  24. 55:33 AMP pairé : est-ce vraiment le HTML qui compte pour l'indexation ?
  25. 61:49 Une chute de trafic brutale traduit-elle toujours un problème de qualité ?
📅
Official statement from (5 years ago)
TL;DR

Google completely ignores fragment identifiers (#section) for indexing and ranking. Specifically, example.com/page and example.com/page#section are treated as the same URL. The only exception: Google can use these anchors to show rich snippets pointing to a specific section in the SERPs, but without any ranking impact.

What you need to understand

What exactly is a fragment identifier and how does it work?

A fragment identifier is the part of a URL that appears after the hash symbol (#). Technically, it does not trigger a new HTTP request on the server side. The browser loads the entire page and then automatically scrolls to the corresponding HTML element with the matching ID.

This mechanism is purely client-side. The server only receives the portion before the #, which is why traditional search engines have always treated these variations as duplicates of the same resource. Mueller's statement confirms that Google maintains this approach for indexing.

Why doesn't Google differentiate these URLs for ranking?

The HTML content remains the same regardless of the anchor used. Google indexes the complete document, not its fragments. Differentiating these URLs would create massive confusion in the index and artificially increase duplicates without added value.

This logic also protects against easy manipulation: a site cannot artificially create dozens of unique “pages” just by adding different anchors. The consistency of the index takes precedence over extreme granularity.

How does Google utilize these identifiers for snippets then?

Even though Google ignores fragments for indexing, it can use them for display purposes. When a result points to a specific relevant section for the query, Google may display a rich snippet including the # in the clickable URL.

This feature enhances user experience by directing users straight to the relevant paragraph, without altering PageRank, crawl budget, or ranking signals. It's a cosmetic optimization post-indexation, not a ranking factor.

  • URLs with # all point to the same indexed resource — no duplication in Google’s index
  • No ranking impact: ranking signals remain unchanged regardless of whether an anchor is present
  • No influence on featured snippets: their selection is based on the overall content of the page, not on fragments
  • Possible cosmetic usage: Google can display snippets pointing to #section for better UX in SERPs
  • No fragmentation of link equity: a backlink to page#A and one to page#B consolidate their juice on the same unique URL

SEO Expert opinion

Is this statement consistent with real-world observations?

Yes, largely. Empirical tests confirm that variations of anchors do not create distinct pages in the index. Search Console groups these URLs under a single canonical version, and backlink analysis tools aggregate the link equity without differentiating the fragments.

However, a nuance deserves to be highlighted: in some very specific cases involving modern JavaScript frameworks (React Router, Vue Router in hash mode), we observe marginal behaviors where Google may temporarily crawl different “views” as distinct states. [To be confirmed] — this seems more related to JS architecture than to intentional differentiation of fragments by Google.

What confusions should be avoided at all costs?

Do not confuse fragment identifiers (#) and URL parameters (?param=value). The latter generate actual distinct server requests and can create unique pages in Google's eyes, with all the duplication risks that entails.

Another common pitfall: believing that anchors allow you to optimize multiple keywords on a single page by creating “SEO subpages”. This strategy is ineffective since Google indexes the overall content, not isolated sections. The thematic optimization should occur at the document level.

In what contexts might this rule seem contradicted?

Accelerated Mobile Pages (AMP) sometimes use fragment identifiers for advanced features, but their treatment remains consistent: Google indexes the complete AMP page. Featured snippets occasionally display deep links with #, but this is a visual enhancement post-indexation.

More problematic: some Single Page Application (SPA) sites use hash routing to avoid server configuration. Google can crawl these states if the JavaScript executes correctly, but it is the DOM manipulation by JS that creates content variations, not the fragment identifier itself. Let's be honest — this architecture remains suboptimal for SEO.

Warning: If your site heavily uses fragments for navigation (SPA in hash mode), you risk indexing issues not related to the fragments themselves, but to JavaScript execution and client-side rendering. A technical audit is necessary to ensure that Googlebot can access all your content.

Practical impact and recommendations

What should you concretely do with fragment identifiers?

Use them solely for their primary function: to improve internal navigation and the user experience. A summary at the top of a long article pointing to #section1, #section2 helps your readers without disrupting your SEO. This is their legitimate use.

Do not try to create artificial SEO variations by multiplying anchors. Each internal link to page#variant dilutes your crawl consistency without providing any indexing benefit. Prioritize clean and hierarchical URLs if you really need to segment content.

How can you check that your structure isn’t penalized by poor usage?

Check the Search Console: if you see dozens of variations of the same URL with different fragments in the coverage report, that’s a bad sign. It likely indicates that your internal linking or backlinks anarchically point to different anchors.

Analyze your server logs: Googlebot should only request URLs without fragments. If you detect suspicious crawls with #, it suggests your JS architecture is generating abnormal requests or that server-side redirections are mishandling these URLs. And that's where the problem lies.

What mistakes should you absolutely avoid in your site's architecture?

Never point strategic backlinks to URLs with fragments. Always request the clean version of the URL to maximize link equity consolidation. A quality link to page#section loses its targeted precision without gaining SEO strength.

Avoid canonicals or hreflang including fragments. Google ignores them in these tags, which can create inconsistencies in your technical marking. Stick to clean URLs for all your structural signals.

  • Audit your internal linking to remove unnecessary links to variations with #
  • Ensure that your quality backlinks point to clean URLs without fragments
  • Check that your XML sitemap does not contain any URL with a fragment identifier
  • Make sure your canonical, hreflang, and og:url tags always use the version without #
  • Test that Googlebot can access your content if you use JavaScript routing, regardless of the fragments
  • Clearly document for your writers and developers that anchors are UX tools, not SEO
Fragment identifiers remain useful for user navigation but are completely transparent for your SEO strategy. Focus your optimization efforts on clean URL structure, quality content, and consistent internal linking. If your current architecture mixes hash routing, complex JavaScript, and indexing issues, it may be wise to engage a specialized SEO agency for a thorough technical audit and personalized support in restructuring your site.

❓ Frequently Asked Questions

Est-ce qu'un backlink vers example.com/page#section a la même valeur qu'un lien vers example.com/page ?
Oui, strictement la même valeur SEO puisque Google indexe ces deux URLs comme une seule ressource. Le link equity se consolide sur la page complète, l'ancre # est ignorée pour le calcul du PageRank.
Google peut-il afficher plusieurs featured snippets différents depuis une même page en utilisant des fragments ?
Non. Le featured snippet est sélectionné à partir du contenu global de la page indexée. Google peut afficher un lien avec # pour pointer vers une section précise, mais ça reste un seul snippet issu d'une seule URL indexée.
Faut-il bloquer les URLs avec # dans le robots.txt ou utiliser une balise canonical ?
Non, c'est inutile et potentiellement contre-productif. Google ignore déjà les fragments pour l'indexation. Bloquer ou canonicaliser ces variations n'apporte rien et risque de créer des complications techniques inutiles.
Les Single Page Applications en mode hash (#/route) sont-elles pénalisées par Google ?
Pas directement à cause des #, mais parce que ce routing complique souvent l'indexation du contenu JavaScript. Si Googlebot ne peut pas exécuter correctement votre JS, vous perdez de l'indexabilité — problème distinct des fragments eux-mêmes.
Un site peut-il optimiser plusieurs mots-clés différents en créant des ancres # ciblées sur une seule page ?
Non, cette stratégie est inefficace. Google indexe et classe le contenu au niveau du document complet, pas section par section. L'optimisation thématique doit se faire globalement sur la page entière ou via des URLs distinctes.
🏷 Related Topics
Domain Age & History Content Crawl & Indexing Featured Snippets & SERP AI & SEO Links & Backlinks Domain Name

🎥 From the same video 25

Other SEO insights extracted from this same Google Search Central video · duration 1h03 · published on 15/10/2020

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.