為了避免連結中斷,合法的SEO手法是使用301轉址,在PHP中是這麼使用的。網站搬家,網頁重新設計,通通都可使用301轉址。這個手法是合法的轉址,而不會被視為惡意引導或是欺騙引導,可以放心使用。
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.somacon.com/");
exit();
?>
隨機文章
- 我的十銓(Team)記憶體 送修經驗 (2012-10-29)
- 不能進行商業行為的Blog (2009-02-13)
- 破解WordPress 佈景主題的編碼 (2009-03-23)
- 免費專案管理軟體dotproject (2009-02-18)
- 詐騙集團? (2008-10-07)








