為了避免連結中斷,合法的SEO手法是使用301轉址,在PHP中是這麼使用的。網站搬家,網頁重新設計,通通都可使用301轉址。這個手法是合法的轉址,而不會被視為惡意引導或是欺騙引導,可以放心使用。
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.somacon.com/");
exit();
?>
隨機文章
- 20170711 PTT 一早就滿載 神奇了 (2017-07-11)
- Google又動了什麼條件,判斷Blogger為spam-blog (2009-07-01)
- Jolicloud (2009-12-14)
- COVID-19 新冠肺炎 變異株(Variant) 重新命名 (2021-06-27)
- 免費Office 微軟迎戰Google (2009-07-16)








