WordPress logo
How-To Guide

How do I rank my WordPress site on Google?

To rank my WordPress site on Google, check three things first: the Search engine visibility setting, the sitemap that WordPress builds, and the Search Console submission. This guide covers WordPress.org, the self-hosted version, and follows its official documentation.

Updated November 22, 2026

TL;DR

Turn visibility on

Confirm the Discourage search engines box is unchecked in Reading settings.

Submit wp-sitemap.xml

Send the WordPress sitemap index to Search Console once the domain is verified.

GrandRanker writes the posts

GrandRanker publishes search-led articles for your WordPress site for you.

6 steps

Step-by-Step

  1. 1

    Open Reading settings

    In the WordPress admin, open the Reading Settings screen. This is where the site-wide search visibility option lives.

  2. 2

    Check search visibility

    Find the Search Engine Visibility section and leave the Discourage search engines from indexing this site box unchecked. Then click Save Changes.

  3. 3

    Open the sitemap index

    Visit your domain followed by /wp-sitemap.xml in a browser. WordPress will expose a sitemap index at /wp-sitemap.xml, so this address should load.

  4. 4

    Verify the domain

    Before you submit your sitemap, you need to verify your domain with Google Search Console. Finish verification for your domain first.

  5. 5

    Open the Sitemaps report

    In Google Search Console, open the Sitemaps report. Use it to submit the sitemap address for your site.

  6. 6

    Submit the sitemap

    Paste the sitemap URL into the Add a new sitemap box in the Sitemaps report, then click Submit. Use the full address, including https. Submit only the index address, since the index already lists the sitemap pages for the site.

Does WordPress create a sitemap by itself?

Yes. Starting with WordPress 5.5, the core software builds a sitemap index without a plugin. WordPress will expose a sitemap index at /wp-sitemap.xml, and that index lists the sitemap pages for the site.

Sitemaps are created by default for all public and publicly queryable post types and taxonomies. The robots.txt file will reference the sitemap index so that it can be easily discovered by search engines.

Keep the sitemap address in your notes, so you can submit the same address again after a theme change. WordPress builds the index from your published content, so new posts appear in it without extra steps.

How do I submit the WordPress sitemap to Google?

Google's documentation says to keep the file in the right place: We recommend putting a sitemap at your site root. WordPress already places the index at the root, so you only need to submit that address.

Open the Sitemaps report in Search Console, paste the URL into the Add a new sitemap box, and click Submit. Confirm the address opens in a browser first, because a sitemap that returns an error cannot be read by Google.

Google's guidance is that the sitemap should be easy to reach, so a public address with no login is the right setup for the index. After you submit, check the Sitemaps report on your next visit, look for the status and the number of URLs discovered, and fix any error the report names before you resubmit.

What blocks WordPress from ranking?

The most common blocker is the visibility checkbox. Check the Discourage search engines from indexing this site box to ask search engines not to index this site. WordPress then adds a noindex, nofollow robots meta tag to the head, so search engines are asked to stay out.

The same setting also affects the sitemap. Sitemaps are disabled if the site's visibility setting discourages search engines from indexing it, so a missing sitemap often points back to that checkbox.

Give a change time before you judge it. Visibility changes can take a while to reach search results, so note the date you unchecked the box and compare results after several days. A staging copy with the box checked can be copied to the live site by mistake, so compare the setting on both.

Sources

Frequently Asked Questions

Let GrandRanker Do This for You

Grandranker does this for you. GrandRanker finds the keywords your WordPress site can win and publishes search-led articles to it.