This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
当您拥有指向相同内容但没有实际重定向的不同 URL 时,可以使用规范 URL。 假设您的域名是
example.com
;www.example.com
和example.com
是两个不同的 URL,如果您不将它们重定向到标准(规范)URL(例如example.com
),搜索引擎将这两个 URL 视为完全不同的页面。 这导致两个URL的链接流行度分裂,这显然对SEO非常不利。Canonical URLs are used when you would otherwise have different URLs that point to the same content without actually redirecting. So let's say your domain is
example.com
;www.example.com
andexample.com
are two different URLs, and if you don't redirect them to a standard (canonical) URL (for instance,example.com
), search engines treat the two URLs as completely different pages. This causes the link popularity of the two URLs to be split, which is obviously very bad for SEO.