如何从 Google 搜索索引中删除文件夹及其子页面

How to remove folder and Its child pages from Google Search Index

我正在重新设计我的网站,它位于网站目录的子文件夹中。 Google 已经从影响我的实时网站搜索结果的子文件夹中为我们的新网站编制了索引。

有什么具体方法可以从 google 搜索索引和 google 搜索结果中删除子文件夹吗?

例如我的现场网站是 www.xyz.com 和 我正在 www.xyz.com/newsite

重新设计

我是否可以从 google 搜索索引和结果中删除 /newsite?

参考http://www.robotstxt.org/robotstxt.html

添加此 robots.txt 文件

User-agent: *
Disallow: /newsite/

或最适合,访问 Google 网站管理员

https://www.google.com/webmasters/tools/url-removal?hl=en&siteUrl=

=

之后添加您的网站 url

例如:

https://www.google.com/webmasters/tools/url-removal?hl=en&siteUrl=http://www.techplayce.com/

是的,将 robots.txt 文件上传到您的网站目录... 用户代理: * 不允许:/newsite/ 如果您有 wordpress 站点,请添加此代码,然后为 robots.txt

安装插件