Hacking and Programming

Daily News and Weekly Tutorials


WordPress to get built-in XML sitemap feature

WordPress is an path-breaking CMS(Content Management System) written in PHP which powers more than 30% of websites and blogs around the internet. WordPress was basically a developed as blogging tool platform but emerged to be more than that. Today wordpress powers blogs, e-commerce stores, community places, and many more.

Being an open source code, WordPress allows customization which can be done using installing plugins and themes and goes on to changing the source codes as you wish. Since its launch in 2003, WordPress gather a large community of developers who developed thousands of plugins for almost every function from customizing themes, functions, sending emails for subscribers, Search Engine Optimization(SEO) and for almost everything.

For almost a decade wordpress users were asking for sitemap generator but till now most wordpress developers and users depended on third-party plugin to generate XML sitemaps. XML sitemaps are special rendered document that contain a list of all the site’s pages, blog posts, tags, and other content. Search engines like Google, Bing, and others, use sitemaps to index a site’s content, with XML-based sitemaps being the most widely used format.

Wait is over, finally WordPress is now getting built-in XML-Sitemap generator with new version “WordPress 5.5”. According to wordpress development team “with version 5.5 WordPress will expose a sitemap index at /wp-sitemap.xml. This is the main XML file that contains the listing of all the sitemap pages exposed by a WordPress site. The sitemap index can hold a maximum of 50000 sitemaps, and a single sitemap can hold a (filterable) maximum of 2000 entries. By default, sitemaps are created for all public and publicly queryable post types and taxonomies, as well as for author archives and of course the homepage of the site. The robots.txtile exposed by WordPress will reference the sitemap index so that i can be easily discovered by search engines.”.

The Official announcement from the WordPress