The Sitemap SOP
The Sitemap SOP
@SitemapSOP

Mistake: relative sitemap path in robots.txt

Mistake: relative sitemap path in robots.txt

The Sitemap: directive in robots.txt requires a full absolute URL. A relative path like Sitemap: /sitemap.xml is silently ignored, and your sitemap goes undiscovered through that channel.

Fix checklist:
— ✅ Sitemap: https://example.com/sitemap.xml — full scheme + host
— ✅ The directive points to your index file, not one child sitemap
— Multiple Sitemap: lines are allowed; list each top-level index
— The line is order-independent and not tied to any user-agent block — keep it at the top for readability

Definition of done: fetch /robots.txt over HTTP, copy the Sitemap value, paste it into a browser. If it 200s and returns valid XML, pass. A relative path that resolves in your editor but not standalone is a fail.
Этот пост опубликован в Telegram-канале The Sitemap SOP. Подписаться можно по ссылке: @SitemapSOP.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.