XML Sitemap in WordPress Core

Google Proposed Integration of XML Sitemaps in WordPress Core

Posted On : June 13th, 2019   By : Durga Prasad Kundu   To : Google

Huge no of WordPress websites’ search engine visibility gets affected as WordPress core doesn’t generate XML Sitemaps by default.

So, to cope with this issue, Google in collaboration with Yoast and other contributors has proposed integration of XML Sitemaps to WordPress core as a feature project. Yesterday, Google’s Developer Program Engineer, Pascal Birchler made this announcement on Twitter.

The intention behind this proposal is to integrate the basic XML Sitemaps in WordPress Core and introduce an XML Sitemaps API to make it fully extendable.

This XML Sitemap will be enabled by default and will make the below mentioned content types indexable –

  • Homepage
  • Posts page
  • Core Post Types (Pages and Posts)
  • Custom Post Types
  • Core Taxonomies (Tags and Categories)
  • Custom Taxonomies
  • Users (Authors)

Also, the robots.txt file will reference the Sitemap index.

Proposed XML Sitemaps Structure

Developers may also try to manipulate the XML Sitemap by using the newly introduced XML Sitemap API in following ways –

  • Add extra Sitemaps and Sitemap entries
  • Add extra attributes to Sitemap entries
  • Provide a custom XML Stylesheet
  • Exclude a specific post type from the Sitemap
  • Exclude a specific post from the Sitemap
  • Exclude a specific taxonomy from the Sitemap
  • Exclude a specific term from the Sitemap
  • Exclude a specific author from the Sitemap
  • Exclude a specific authors with a specific role from the Sitemap

Source: https://make.wordpress.org/core/2019/06/12/xml-Sitemaps-feature-project-proposal/

Video

Menu