如何從 m. 網址改為使用回應式網站
2017 年 9 月 14 日,星期四
隨著越來越多網站採用回應式網頁設計,許多網站管理員都想知道如何從獨立的行動網址 (也就是一般人所說的「m. 網址」) 改成回應式網頁設計。所以我們在下方提供了一些建議做法,讓您輕鬆將各個獨立網址改成單一回應式網址,藉此為網站創造最佳機會,以便在 Google 搜尋結果中名列前茅。
在不影響 Googlebot 檢索網站的情況下改為使用回應式網站
當您的回應式網站準備就緒後,只要事先稍微規劃一下便可輕鬆完成變更作業。由於您的電腦版網址不會改變,因此只要設定 301
重新導向,將行動版網址指向回應式網頁網址即可。
詳細步驟如下:
-
將回應式網站準備就緒
-
設定
301
重新導向,將舊有的行動版網址指向回應式網址 (新網頁)。您必須為每個網址設定重新導向,逐一將各個行動版網址指向回應式網址。

-
將網站上的行動版網址專屬設定全數移除,例如條件式重新導向或 Vary HTTP 標頭。
-
建議做法:在回應式網址上設定
rel=canonical
,使網址指向自己 (自我參照標準網頁)。
如果是要將動態服務改成回應式網頁設計,則不必新增或調整任何重新導向設定。
以下是改成回應式網頁設計的一些優點
改成回應式網站後,未來的維護和報表作業都將更加輕鬆。除了不必分開管理每個網頁的網址,以後要採用各種做法和技術也容易許多,比如可以利用 hreflang 加強國際化、藉由 AMP 提高載入速度,或是採用結構化資料,以便支援進階搜尋功能。
如需其他協助,歡迎隨時前往網站管理員論壇發問。
發文者:網站管理員關係團隊 Cherry Prommawin
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
[null,null,[],[[["Moving to responsive web design from separate mobile URLs involves redirecting mobile URLs to responsive URLs using 301 redirects."],["Website owners need to remove any mobile-specific configurations like conditional redirects or vary HTTP header after setting up redirects."],["Responsive web design simplifies website maintenance, reporting, and implementation of features like hreflang, AMP, and structured data."],["Dynamic serving websites transitioning to responsive design do not require additional redirects."]]],["Webmasters migrating from separate mobile URLs to responsive web design should configure `301` redirects from old mobile URLs to the new responsive URLs on a per-URL basis. Remove mobile-URL-specific configurations like conditional redirects. Setting up self-referential canonicals on responsive URLs is recommended. Switching from dynamic serving to responsive design requires no redirects. This shift simplifies maintenance, reporting, and adopting practices such as hreflang, AMP, and structured data.\n"]]