The Pico IndexNow Plugin enables automatic URL submission to Bing's IndexNow API when new content is created in your Pico CMS. This helps search engines quickly discover and index your new content.
-
Download the Plugin: Download the
Pico_IndexNow
plugin from the GitHub repository. -
Unzip and Upload: Unzip the downloaded file and upload the
Pico_IndexNow
directory to theplugins/
directory of your Pico CMS installation. -
Enable the Plugin: Enable the plugin by adding the following line to your
config/config.yml
file:plugins: Pico_IndexNow: true
-
Configure API Key: Add your IndexNow API key to the
config/config.yml
file:indexnow_api_key: your-api-key-here
The plugin automatically submits the URL of new content to the IndexNow API. A new article is determined by the presence of a date
field and the absence of a published
field or if the published
field is set to false
in the article's front-matter.
When new content is created:
- The plugin submits the URL to Bing's IndexNow API.
- The
published
field in the front-matter of the article is updated totrue
.
Ensure your content files contain the following front-matter fields:
date
: The creation date of the article.published
: (Optional) A boolean field indicating if the article has been published.
Example:
---
title: "Sample Article"
date: "2024-05-01"
published: false
---
This project is licensed under the MIT License.
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
If you encounter any issues or have any questions, please open an issue on the GitHub repository.