引用:
作者: dmwc
副檔名並不是重點,若是你有自己的檔名,會比用參數好
例如: my-title.php > page.php?id=123 ,理論上 my-title.asp = my-title.php = my-title.html,就算你是寫程式的,也不會用副檔名去決定網頁的格式吧,因為抓 header 比副檔名好判斷多了
|
這個我覺得是對的, 但用mod rewrite有一定的影響
因為例如abc.php?id=123沒有任何keyword(search engine會看成abc.php), 但改成123.html的話search engine就會看到完整的檔名123.html而將123當成keyword來看