Header Ads

How to Create HTML And an XML Sitemap for WordPress Blog

Sitemap is a list of pages on a website that is accessible to all users. An XML sitemap is a way for website owners to tell search engines about all the pages that exist on their website. WordPress XML sitemap also tells search engines which links on your website are more important than others and how frequently you update your website. While sitemaps do not boost your search rankings, it allows search engines to better crawl your website. 

In this article you will learn about sitemap, why you need a sitemap, how to create a sitemap in WordPress, and how to tell search engines about your sitemaps.


Today sitemaps are published in XML instead of HTML and their target audience is search engines and not people.

Similar Posts:


How to create a Sitemap in WordPress?
There are several ways to create an XML sitemap in WordPress. To add a sitemap to your WordPress site, first thing you need to do is install and activate WordPress SEO by Yoast plugin, you can get one here or here.

Note: By default, WordPress SEO does not enable XML sitemap functionality, so you will have to turn it on. To do that go to SEO » XML Sitemaps and check the box to enable XML sitemap functionality.


When you check the box to enable XML sitemap functionality, WordPress SEO will show you a number of options that you can configure for your Sitemaps. If you are unsure about what to do with them, then ignore them and click on Save settings.

Now your sitemaps are generated and publicly accessible. WordPress SEO will show a XML Sitemap button which you can click to view your sitemap_index.xml sitemap.

How to Tell Search Engines About Sitemaps?
First, Read How to Add Your WordPress Site/Blog to Google Webmaster Tools

==> Go to Google Webmaster Tools. If you are not already signed in to your Google account, then you will be asked to sign in. After signing in you will reach webmaster tools. There you will see “Add a site” button, click it and then add the URL of your website.

==> On the next screen you will be asked to verify the ownership of the website you are trying to add. There are several methods to do that. But since you are already using WordPress SEO plugin, then the easiest method for you is to copy the HTML Meta tag value and paste it in WordPress SEO plugin. To do that click on Alternate methods and then on HTML Tag. You will then see a line of HTML Meta tag code. 


==> Copy and paste this line in a text editor like notepad. Now copy the value in the content=”” (Without copying the commas). Leave the webmaster tools site verification page open because we will come back to the page after adding the meta tag to verify the ownership of the website. Go to your WordPress admin area and then click on SEO tab. This will take you to WordPress SEO plugin’s dashboard. Scroll down, and you will see Webmaster Tools heading. Paste the meta tag value you copied next to Google Webmaster tools and Save Settings.

==> Go back to Google webmaster tools, site verification screen and press the verify button. You will see a notice like “Congratulations you have successfully verified your ownership of www.yoursite.com”. Click continue to see webmaster tools dashboard for your site.

==> On the next screen you will see Sitemaps column with no sitemaps in it. Clicking on it will take you to a Sitemaps page where you can add your sitemaps. Click on the red button labeled “Add/Test Sitemap” and provide the URL of your sitemap.

==> Once you have successfully added your sitemap, it will appear as pending. It will take Google sometime to crawl your website. After a while you would be able to see some stats about your sitemap. It will show you the number of links it found in your sitemap, how many of them got indexed, a ratio of images and web pages, etc.

==> Visit Google Webmaster tools often, at least once a month. As your site gets older you will start seeing more and more useful data about your website and how it is seen by the search engine.

Source: Wpbeginer

I hope this tutorial have helped you. This information can help you learn how well your site is doing and what other things you can do to improve its performance in search engines. If anyone fined any difficulty then don't be shy to make use of the comment box below.

If you liked this guide, please share it with your friends and family.

No comments

Powered by Blogger.