Index Now

This commit is contained in:
2026-07-13 15:13:03 +02:00
parent 7c210524a9
commit 9ebe223873
3 changed files with 1451 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
387f34cb325b4d70a24e2c18e17c9729

View File

@@ -0,0 +1,42 @@
// Submits all site URLs to IndexNow (Bing, Yandex, Seznam, Naver).
// Usage: node scripts/indexnow-submit.mjs
const host = 'greenlenspro.com'
const key = '387f34cb325b4d70a24e2c18e17c9729'
const base = `https://${host}`
const paths = [
'/', '/en', '/es', '/support',
// English SEO pages
'/plant-identifier-app', '/plant-disease-identifier', '/plant-care-app',
'/plant-scanner', '/flower-scanner', '/identify-plant-photo',
'/houseplant-identifier', '/succulent-identifier',
'/best-plant-identification-app', '/plant-health-app',
// German SEO pages
'/pflanzen-erkennen-app', '/pflanzen-erkennen-kostenlos', '/pflanzen-bestimmen',
'/zimmerpflanzen-bestimmen', '/pflanzen-krankheiten-erkennen',
'/pflanzen-pflege-app', '/blumen-scanner', '/giess-erinnerung-app',
// Spanish SEO pages
'/es/identificador-de-plantas', '/es/app-para-cuidar-plantas',
'/es/diagnosticar-enfermedades-plantas', '/es/escaner-de-plantas',
'/es/comparar/google-lens',
// Comparison pages
'/vs/picturethis', '/vs/plantum', '/vs/inaturalist', '/vs/google-lens',
// Legal
'/imprint', '/privacy', '/terms',
]
const body = {
host,
key,
keyLocation: `${base}/${key}.txt`,
urlList: paths.map((p) => `${base}${p}`),
}
const res = await fetch('https://api.indexnow.org/indexnow', {
method: 'POST',
headers: { 'Content-Type': 'application/json; charset=utf-8' },
body: JSON.stringify(body),
})
console.log(`Submitted ${body.urlList.length} URLs — HTTP ${res.status} ${res.statusText}`)
if (!res.ok) console.log(await res.text())