假设我有文章提交网站 我有 1000 多篇文章,每天更新和添加新的
我有三个与文章相关的参数
- category
- tag
- author
和我的分页结构
category wise articles =>site.com/category/{category_name}
tag wise articles =>site.com/tag/{tag_name}
particular author posted articles =>site.com/{author_name}/{article}
所有页面显示文章作为分页。 如何为以上所有链接应用分页 需要建议
1. url structure like. ?page=number or /page/number
2. How can i avoid duplication because there is full chance.
3. any suggestion regarding html tag for seo
4. or i can improve this structure
5. and which one best url for displaying content /article/slug or any??
最佳答案
只需打开页面并 - 查看页面源代码然后找到行
link rel="canonical"href="http://您的网站/
有了它,一切都会好起来的。
这篇文章可以帮助:
https://support.google.com/webmasters/answer/139066?hl=en
但是如果您有来自其他网站的重复内容,您必须添加行:
META NAME="ROBOTS"CONTENT="NOINDEX, NOFOLLOW"
关于pagination - seo分页有助于避免重复,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32690910/