Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

資料庫是否可存新聞的 canonical URL #29

Closed
jsliang opened this issue Mar 23, 2014 · 1 comment
Closed

資料庫是否可存新聞的 canonical URL #29

jsliang opened this issue Mar 23, 2014 · 1 comment

Comments

@jsliang
Copy link
Contributor

jsliang commented Mar 23, 2014

Google 考慮到現在很多網頁會有多個 URL 的情況,建議一般網頁中加上 canonical URL 的 meta tag 幫助它們建 index:
https://support.google.com/webmasters/answer/139066?hl=en

例如以下幾個 YouTube 連結指的是同一個影片:

而這一頁的 canonical URL 是:

現在大部份網站也都有 canonical URL 的資訊。因此建議我們在新增新聞時,以該 URL 頁面上的 canonical URL 作為建檔的依據,這樣可以更準確幫助使用者判斷目前看的新聞是否已被回報過。

@jsliang
Copy link
Contributor Author

jsliang commented Mar 23, 2014

不好意思,發現這應該發在 http://github.com/g0v/newshelper-backend ,故關閉。

@jsliang jsliang closed this as completed Mar 23, 2014
@jsliang jsliang changed the title 資料庫裡存 canonical URL 資料庫是否可存新聞的 canonical URL Mar 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant