As a senior security CMS website operation personnel, I know the importance of content creation, publication, and optimization.For search engine optimization (SEO), it is crucial to inform search engines of website content updates in a timely manner. The IndexNow API is created for this purpose, and it can help your website content be discovered and indexed by search engines like Bing more quickly.

About the IndexNow API you have proposed{API Key}.txtThis file should be placed in which directory of the website, according to the official document and **practice of Anqi CMS, this file must be placed in the directory of your website,root public directory (publicdirectory)?.

In particular, after you obtain an API Key from Bing's IndexNow platform, you need to create a one named with that API Key..txtFile. For example, if your API Key isd2f0d24fc01e46c9be89c0d9b282227a, then the filename you need to create isd2f0d24fc01e46c9be89c0d9b282227a.txtThis file should also only contain the API Key itself, that is, the content written inside the filed2f0d24fc01e46c9be89c0d9b282227a.

Translate this.txtThe file is uploaded to the websitepublicThe key steps under the directory are to verify the ownership of your website with IndexNow API and ensure the legitimacy of the push requests.publicThe directory is the default root directory for the website to provide static file access, ensuring that search engine crawlers can access it.您的域名/{API Key}.txtVerify your identity.If the file cannot be accessed publicly or placed in the wrong directory, Bing will be unable to verify your API Key, which will result in the IndexNow push feature not functioning properly.

In the Anqi CMS backend, you can configure the IndexNow API under the 'Link Push' module in the 'Feature Management' section. After completing the file placement and API Key settings, Anqi CMS will use your website domain and API Key to form a complete IndexNow push URL, for examplehttps://www.bing.com/indexnow?key=d2f0d24fc01e46c9be89c0d9b282227a,and send content update notifications to Bing through this URL.This mechanism greatly simplifies the process of website operators submitting content to search engines, ensuring that your newly published content or updates can be quickly identified by search engines.


Common Questions and Answers (FAQ)

What is the purpose of the IndexNow API?IndexNow API is a protocol supported by search engines such as Microsoft Bing and Yandex, designed to allow website owners to notify search engines immediately after publishing new content or updating existing content.This helps search engines discover and index your web pages faster, thereby accelerating the display of content in search results and may improve the SEO performance of the website.

If I put{API Key}.txtthe file inpublica location other than the directory?to{API Key}.txtthe file inpublicThe location outside of the catalog will cause the search engine to be unable to find and verify your API Key through a publicly accessible path.In this case, the verification of the IndexNow API will fail, and the link push function of the security CMS will not be able to send notifications to Bing normally, thus losing the advantage of accelerating indexing through the IndexNow API.publicIt is a necessary condition for the directory to function normally.

How to generate IndexNow API Key?To generate the IndexNow API Key, you need to access the IndexNow page of Bing Webmaster Tools (usuallyhttps://www.bing.com/indexnow)。On this page, Bing will generate a unique API Key for you.{API Key}.txtfile.