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

[Feature request] seo插件添加Canonical 属性 #289

Closed
sunshang-hl opened this issue Nov 19, 2024 · 1 comment
Closed

[Feature request] seo插件添加Canonical 属性 #289

sunshang-hl opened this issue Nov 19, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sunshang-hl
Copy link

Clear and concise description of the problem

从优化的角度来理解,canonical标签主要用于规范化网址,比如当网站一个页面有多个URL可以访问时,为避免权重分散,我们通过canonical标签告诉搜索引擎哪个页面地址才是主要的,同时这个URL也是我们想被收录的地址。
这里我举一个例子:

  http://feiyuseo.cn/123.html

  http://feiyuseo.cn/?id=123

  以上两个地址其实打开是同一个页面,对我们用户来讲没有差别,但对搜索引擎来讲,这是不同的两个网址,从搜索优化角度来说,会让百度不知道哪个网址是重要的,进而将页面权重平分掉,这样就造成收录混乱且不利于关键词的排名。

Suggested solution

增加网页meta里的canonical标签,取值为网站域名

Alternative

No response

Additional context

No response

@Mister-Hope
Copy link
Member

https://ecosystem.vuejs.press/zh/plugins/seo/seo/guide.html#规范链接

@Mister-Hope Mister-Hope closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2024
@Mister-Hope Mister-Hope added the question Further information is requested label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants