As a senior CMS website operation personnel of a security company, I am well aware of the importance of content creation, publication, and optimization.For search engine optimization (SEO), timely informing search engines of website content updates is a crucial link, the IndexNow API is born for this purpose, it can help your website content be discovered and indexed faster by Bing and other search engines.
About the IndexNow API you mentioned{API Key}.txtThis question of where the file should be placed in the website directory, according to the official documents and **practice of Anqi CMS, this file must be placed in the root public directory of your website(publicContents).
In particular, after you obtain an API Key from Bing's IndexNow platform, you need to create a one named with the API Key.txtFile. For example, if your API Key isd2f0d24fc01e46c9be89c0d9b282227athen the filename you need to create isd2f0d24fc01e46c9be89c0d9b282227a.txt. The content of this file should only contain the API Key itself, that is, written inside the filed2f0d24fc01e46c9be89c0d9b282227a.
Upload this.txtfile to the website'spublicUnder the directory, it is the key step for IndexNow API to verify your website ownership and ensure the legitimacy of the push requests.publicThe directory is the default root directory for providing static file access to the website, ensuring that search engine crawlers can access it您的域名/{API Key}.txtTo verify your identity. If the file cannot be publicly accessed or placed in the wrong directory, Bing will not be able to verify your API Key, which will result in the IndexNow push feature not working properly.
In the Anqi CMS backend, you can configure the IndexNow API under the "Function Management" section, in the "Link Push" module. After completing the file placement and API Key settings, Anqi CMS will use your website domain and API Key to concatenate a complete IndexNow push URL, for examplehttps://www.bing.com/indexnow?key=d2f0d24fc01e46c9be89c0d9b282227aAnd 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 new content or updates can be quickly identified by search engines.
Frequently Asked Questions (FAQ)
What is the purpose of the IndexNow API?The IndexNow API is a protocol supported by search engines like 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 your website.
If I will{API Key}.txtWhere should the file be placed?publicWhat will happen if the file is placed in a directory other than the one?to{API Key}.txtWhere should the file be placed?publicThe location outside the directory will cause the search engine to be unable to find and verify your API Key through a public access path.In this case, the verification of the IndexNow API will fail, and the link push function of Anqi CMS will not be able to send notifications to Bing normally, thereby losing the advantage of accelerating indexing through the IndexNow API.Ensure the file is onpublicIt is a necessary condition for it to work normally under the directory.
How to generate IndexNow API Key?To generate an 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.Please make sure to keep this API Key safe and follow the steps described in this article to create and place it{API Key}.txtfile.