轉譯可供檢索的 AJAX 網頁
2017 年 12 月 4 日,星期一
AJAX 檢索配置最初的引進是為了讓 Googlebot 存取 JavaScript 網頁,而我們先前已宣布要捨棄這項配置。這是因為隨著時間的推移,Google 工程師已經大幅改進了為 Googlebot 轉譯 JavaScript 的成效。為了反映這方面的進步,我們將於 2018 年第二季全面改成由 Google 來轉譯 JavaScript 網頁,不再要求網站自行轉譯。簡言之,我們將不再使用 AJAX 檢索配置。
提醒您,AJAX 檢索配置可接受網址中有 #!
的網頁,或是網頁上有片段 meta
標記,然後使用網址中的 ?_escaped_fragment_=
檢索這些網頁。這個逸出版本必須是網頁的完整轉譯版本和/或對等版本,由網站本身建立。
這項變更生效後,Googlebot 將直接轉譯 #!
網址,這樣一來,網站擁有者就不必提供該網頁的轉譯版本。而我們的搜尋結果會繼續支援這類網址。
我們預計,大多數可供檢索的 AJAX 網站不會在本次更新後出現重大改變。網站管理員可以按照下方的詳細說明仔細檢查自己的網頁,我們也會針對可能出現問題的網站發送通知。
如果您的網站目前使用 #!
網址或片段 meta
標記,建議採取下列做法:
我們希望本次更新可以讓您更輕鬆經營網站,減少轉譯網頁的負擔。如有任何問題或意見,歡迎前往網站管理員說明論壇提問,或是加入 JavaScript 網站工作團隊。
發文者:Google 瑞士團隊的 John Mueller
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
[null,null,[],[[["Google will no longer use the AJAX crawling scheme and instead directly render pages with `#!` in the URL or fragment `meta` tags, simplifying indexing for JavaScript-based webpages."],["This change, happening in Q2 2018, leverages Google's improved JavaScript rendering capabilities and is expected to have minimal impact on most websites currently using AJAX crawling."],["Webmasters are encouraged to verify website ownership in Google Search Console, test pages with Fetch and Render, and ensure proper link usage, metadata, and structured data implementation."],["Content relying on Flash, Silverlight, or other plugins should be converted to JavaScript or HTML for search indexing."],["Google provides resources like webmaster forums and a JavaScript sites working group for support and further information."]]],["Google will discontinue the AJAX crawling scheme in the second quarter of 2018, switching to rendering JavaScript pages directly. Websites using `#!` URLs or fragment `meta` tags no longer need to provide rendered versions. Googlebot will render `#!` URLs directly. Webmasters should verify website ownership in Google Search Console, test rendering differences using \"Fetch and Render,\" and ensure correct use of HTML `a` elements, `rel=nofollow`, meta tags, and structured data. Content in Flash or similar must be converted to be indexed.\n"]]