為了避免連結中斷,合法的SEO手法是使用301轉址,在PHP中是這麼使用的。網站搬家,網頁重新設計,通通都可使用301轉址。這個手法是合法的轉址,而不會被視為惡意引導或是欺騙引導,可以放心使用。
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.somacon.com/");
exit();
?>
隨機文章
- 詐騙集團? (2008-10-07)
- 硬碟資料清除與微波爐 (2011-02-03)
- 學到了 OSI7層和Switch設備的L1/L2/L3指的是一樣的東西嗎? (2026-01-02)
- 受保護的內容: 亞力山大翻版的模具廠? (2008-01-01)
- 紐西蘭航空-空姐空少全祼上陣介紹機上安全措施-拍飛安簡介片 紐航空服員脫光上陣吸睛 (2009-07-03)

![[chatGPT 測試] 評測開箱 Synology DS918+](https://chihping.aflypen.com/wp-content/uploads/2023/03/hdd-g6fc6f0659_640-300x228.png)
![[chatGPT 測試] 比較Synolgy TrueNAS 和 OpenMediaVault](https://chihping.aflypen.com/wp-content/uploads/2023/03/synolgo_opensource_comparison-300x169.jpg)
![[chatGPT 測試] DSM 7 有什麼特色](https://chihping.aflypen.com/wp-content/uploads/2023/03/usb-ga13f61ece_1280-300x221.jpg)




