如何删除重复内容
How to remove Duplicate Content
如果我看到关于这些的重复内容
网址 http://www.testman.com/about-us
和
http://www.testman.com/about-us/
解决此问题的最佳行动方案是什么?
最佳解决方案是
永久重定向:
在 Apache .htaccess 中使用以下内容
RedirectMatch 301 ^/about-us$ /about-us/
google 只会索引 1 url
/about-us/
对于多个urls
您可以使用:
RedirectMatch 301 ([^/]+)$ //
如果我看到关于这些的重复内容 网址 http://www.testman.com/about-us 和 http://www.testman.com/about-us/ 解决此问题的最佳行动方案是什么?
最佳解决方案是
永久重定向:
在 Apache .htaccess 中使用以下内容
RedirectMatch 301 ^/about-us$ /about-us/
google 只会索引 1 url
/about-us/
对于多个urls
您可以使用:
RedirectMatch 301 ([^/]+)$ //