Official statement
When a page uses window.history.pushState to change the displayed URL, Google likely treats this as a redirect and associates the content with the modified URL instead of the original URL.
Other statements from this video 13 ▾
- □ How can you prevent the indexing failure of your web pages?
- □ Why do links without HREF hinder Google's indexing?
- □ Does the no-index tag really prevent Google from crawling your pages?
- □ Why does Google index blocked pages by robots.txt?
- □ Is it true that the mobile validator isn't always reliable for your URLs?
- □ Does mobile compatibility really have a significant impact on your SEO?
- □ How can CDNs disrupt your site's mobile display?
- □ Is it true that JavaScript-loaded content remains invisible to Googlebot?
- □ Could HTML Buttons Be Undermining Your SEO Efforts?
- □ How can you ensure that every URL in your SPA is properly indexed by Google?
- □ How Does the Compatibility of the Beacon API with the WRS Influence Your SEO Tracking?
- □ How can you ensure that content beneath the viewport is acknowledged by Google?
- □ Are Google’s Testing Tools Truly Reliable for SEO?
Official statement from
(4 years ago)
⚠ A more recent statement exists on this topic
Why Are 15% of Google Searches Completely New Every Single Day?
View statement →
TL;DR
Google regards the use of window.history.pushState as a redirect. The content is linked to the modified URL rather than the original URL, which impacts indexing and ranking.
❓ Frequently Asked Questions
window.history.pushState est-il une pratique SEO recommandée ?
Pas toujours. Elle doit être utilisée judicieusement pour éviter des effets négatifs sur l'indexation.
Quel est le principal risque d'utiliser pushState ?
Un mauvais usage peut résulter en un contenu dupliqué ou non indexé correctement par Google.
Comment tester l'impact d'une modification d'URL ?
Analysez les journaux de crawl, suivez les erreurs d'indexation et utilisez des outils de suivi SEO.
🎥 From the same video 13
Other SEO insights extracted from this same Google Search Central video · published on 22/09/2021
🎥 Watch the full video on YouTube →
💬 Comments (0)
Be the first to comment.