Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 2|回復: 0

if you wanted to prevent all search engines

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2024-2-27 19:24:18 | 顯示全部樓層 |閱讀模式
Here you will find a detailed list of web crawlers and their different user agents. La directive Disallow The second line of any directive block is the "Disallow" line. You can have multiple "Disallow" directives that specify which parts of your site the crawler cannot access. An empty "Disallow" line means that you are not disallowing anything, and that a crawler can access all sections of your site. For example, if you want to allow all search engines to crawl your entire site, your block would look like this: User-agent.

Allow: / On the other hand,  from crawling your site, your block Middle East Mobile Number List would look like this: User-agent: * Disallow: / The "Allow" and "Disallow" directives are not case sensitive, so it's up to you whether to capitalize them or not. However, the values ​​contained in each directive are. For example, /photo/ is not the same as /Photo/ . However, you will often find the "Allow" and "Disallow" directives in capital letters, as this makes the file easier for humans to read.



directive Allow The "Allow" directive allows search engines to crawl a specific subdirectory or page, even in an otherwise prohibited directory. For example, if you want to block Googlebot from accessing all but one of your blog posts, your directive might look like this: User-agent: Googlebot Disallow: /blog Allow: /blog/example-post Note : Not all search engines recognize this command. But Google and Bing take this directive into account. La directive Sitemap The Sitemap directive tells search engines, including Bing, Yandex, and Google, where to find your XML sitemap. Sitemaps typically include the pages you want search engines to crawl and index.


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇

GMT+8, 2025-3-17 06:52 , Processed in 0.063130 second(s), 18 queries .

抗攻擊 by GameHost X3.4

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |