KakapoWP KakapoWP
Help Center/SEO/XML sitemap and robots.txt

XML sitemap and robots.txt

Applies to: Kakapo SEO· 3 min read

An XML sitemap lists the addresses of your content in one place. The plugin delivers a sitemap of its own and enters it in the robots.txt. Both areas sit in the sidebar under “Technical”.

Turn the sitemap on

  1. In the WordPress menu, open the entry “Kakapo SEO”.
  2. On the left, in the “Technical” group, choose the item “Sitemaps”.
  3. Switch on “XML sitemap active”.
  4. Reload the page — only then does the button “View sitemap” appear, with which you check the result.
/kwpseo-sitemap.xml

What is in the sitemap

  • The home page with changefreq daily and priority 1.0
  • Published content of all public content types, attachments excepted
  • For each address the date of the last change as lastmod
  • At most 2000 items of content, most recently changed first

The card “Sitemap file” counts the home page and the published content together; below that the address and the included content types are shown. The file is delivered as XML with the header X-Robots-Tag: noindex.

Your own robots.txt rules

  1. In the “Technical” group, switch to “Robots.txt”.
  2. Enter your lines in the field “Additional robots.txt rules”.
  3. Compare the result in the card “Current output”.

Your lines are appended to the robots.txt generated by WordPress. If the sitemap is switched on, the plugin additionally adds a sitemap line, provided it is not already contained. If search engine visibility under Settings → Reading is switched off, the preview shows Disallow: /.

The robots.txt is virtual. If a real robots.txt file sits in the root directory, the server delivers that one and the rules here remain without effect — the card “Current output” points this out. If the sitemap is switched off, WordPress answers a call to the sitemap address with the normal 404.
Was this article helpful?