為了避免連結中斷,合法的SEO手法是使用301轉址,在PHP中是這麼使用的。網站搬家,網頁重新設計,通通都可使用301轉址。這個手法是合法的轉址,而不會被視為惡意引導或是欺騙引導,可以放心使用。
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.somacon.com/");
exit();
?>
隨機文章
- 放在褲子後口袋的iPhone6 Plus 一天就變彎曲螢幕 (2014-09-25)
- Proxmox Backup Server (PBS),初測 不如預期方便 (2021-01-27)
- 網路搜尋 正評向前這個我會負評向後 講的好神啊 (2016-11-30)
- 反向連結 (2009-03-23)
- OpenWRT 修改版 Koolshare 初測 (2019-01-21)




![[chatGPT 測試] DSM 7 有什麼特色](https://chihping.aflypen.com/wp-content/uploads/2023/03/usb-ga13f61ece_1280-300x221.jpg)



