Dyfort.Umbraco.IndexNow
1.0.0
dotnet add package Dyfort.Umbraco.IndexNow --version 1.0.0
NuGet\Install-Package Dyfort.Umbraco.IndexNow -Version 1.0.0
<PackageReference Include="Dyfort.Umbraco.IndexNow" Version="1.0.0" />
paket add Dyfort.Umbraco.IndexNow --version 1.0.0
#r "nuget: Dyfort.Umbraco.IndexNow, 1.0.0"
// Install Dyfort.Umbraco.IndexNow as a Cake Addin #addin nuget:?package=Dyfort.Umbraco.IndexNow&version=1.0.0 // Install Dyfort.Umbraco.IndexNow as a Cake Tool #tool nuget:?package=Dyfort.Umbraco.IndexNow&version=1.0.0
Dyfort.Umbraco.IndexNow
This package enables automated submission of URLs from Umbraco sites to the Bing index. Once installed and configured with an API key obtained from Bing Webmaster portal, the package detects page creation/update in Umbraco and automatically submits the URL behind the scenes ensuring that the site pages are always fresh in the Bing index.
Install Package to your project
PM> Install-Package Dyfort.Umbraco.IndexNow
Settings and defaults
"IndexNow": {
"ApiKey": "",
"KeyLocation": "",
"FireOnPublish": true,
"FireOnDelete": true,
"PublicDomain": ""
}
Get Your API Key:
Visit the IndexNow website and follow their instructions to generate an API key. This key helps verify your ownership of the domain you'll be submitting URLs for.
Host Your API Key:
Save your API key in a plain text file encoded in UTF-8. You can name this file anything (e.g., key.txt). Place this file in the root directory of your website. This means it should be accessible at the same web address as your homepage (e.g., https://www.yourwebsite.com/key.txt).
Configure Umbraco with appsettings.json:
Locate the appsettings.json file in your Umbraco project. Add the following configuration section to the file: JSON
"IndexNow": {
"ApiKey": "", // Replace with your actual API key
"KeyLocation": "https://www.yourwebsite.com/key.txt", // Update if your filename is different
"FireOnPublish": true, // Enables submitting URLs on publishing content
"FireOnDelete": true, // Enables submitting URLs on deleting content
"PublicDomain": "https://www.yourwebsite.com" // Replace with your website URL
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Umbraco.Cms.Web.BackOffice (>= 10.8.1)
- Umbraco.Cms.Web.Website (>= 10.8.1)
-
net8.0
- Umbraco.Cms.Web.BackOffice (>= 13.0.0)
- Umbraco.Cms.Web.Website (>= 13.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 363 | 3/22/2024 |