$show=mobile

右下角有 線上客服 點選後,可直接傳送訊息、照片與檔案。

|抱歉、此畫面顯示為沒找到資料、搜尋沒結果or失效,請先參考上方menu_$type=slider$cls=3$c=9$sn=0$rm=0$show=404$a=0

www與non-www的301設定

網站若啟用SSL後,網址應為 https,http就不使用,這時候網址的301設定就很重要,若不設定,那google就會認為有重複頁面(內容),照理說網址會有4個:

  1. http://網址.com
  2. http://www.網址.com
  3. https://網址.com
  4. https://www.網址.com

要用 https://www.網址.com 還是 https://網址.com為主,依據個人喜好,反正google CHROME目前也不顯示 www了,以前主流是要有www,看起來才像一個網址,但現在已經不是,都直接講網域居多。(決定哪個都不影響SEO,若已經使用,請維持現況就好。)


偵測301設定是否正常的網址在這(CLICK),
若以 https://www.網址.com 為主
那輸入網址後的301 redirect 設定應該要是
  • http://網址.com →301→ https://www.網址.com
  • http://www.網址.com →301→ https://www.網址.com
  • https://網址.com →301→ https://www.網址.com
也就是 301 redirect 1次就應該要到達主要網址,附圖需要修正的是 :
  • http://網址.com →301→ https://www.網址.com

如何設定網址的301導向,大概會有三個方式(一定要先做好備份):

  • 主機端有選項可以設定
  • .hatcess (網路很多教學或主機端會有基本QA,像這個SG的就是)
  • 安裝Redirect 類的外掛(like this)



附上網域的DNS紀錄

留言版 :

名稱

吃喝玩樂,14,社會秩序維護法,1,班服,4,電腦刺繡,26,網路行銷,14,繪圖軟體,24,adobe,9,AutoStitch,15,tajima,15,wordpress,15,
ltr
item
設計師在台南: www與non-www的301設定
www與non-www的301設定
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_w-DI3-TS8WNOdlC1DZ_xRffGM3XcKq3mVnBEHXpY1LMFU5WPKl1ut3kcIb7juZfLjWXQbHXQWXBKeVcU9nIDS_cK08lDJWCgFe3pfIEok_E2tYwZLgiroPWc2Rlpohs93mGyQg/s640/0415-301-02.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_w-DI3-TS8WNOdlC1DZ_xRffGM3XcKq3mVnBEHXpY1LMFU5WPKl1ut3kcIb7juZfLjWXQbHXQWXBKeVcU9nIDS_cK08lDJWCgFe3pfIEok_E2tYwZLgiroPWc2Rlpohs93mGyQg/s72-c/0415-301-02.jpg
設計師在台南
https://www.twomou.com/2020/04/www-301.html
https://www.twomou.com/
https://www.twomou.com/
https://www.twomou.com/2020/04/www-301.html
true
9035990
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore 回覆 Cancel reply Delete By Home PAGES POSTS View All 推薦閱讀 : 標籤 ARCHIVE SEARCH ALL POSTS 抱歉,沒找到相關內容。 →返回首頁 Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 剛剛 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy 目錄