How to get your WordPress site indexed on Google (step by step)

By Connect Digital World | SEO Made Easy
You built a WordPress website. You wrote great posts. You hit publish. Then you search for your site on Google, and… nothing. It feels like opening a shop in a hidden alley where nobody can find you.
Don’t worry. This is one of the most common problems new website owners face, and it is fixable. In this guide, you will learn how to get your WordPress site indexed on Google, step by step, in plain language. We have also added ready-to-use code, so you can copy, paste and go.
Quick Checklist: Get Indexed in 10 Steps
- Check whether Google already knows your site.
- Make sure WordPress is not hiding your site from search engines.
- Set up Google Search Console.
- Create an XML sitemap.
- Submit the sitemap to Google.
- Check your robots.txt file.
- Request indexing for your important pages.
- Build internal links.
- Add schema markup.
- Fix errors and be patient.
What Does “Indexed” Mean? (Simple Explanation)
Think of Google as a giant library. Millions of new pages appear on the internet every day. Google sends tiny robots, called crawlers (or Googlebot), to visit websites and read the pages.
After reading a page, Google decides whether to store it in its library. That library is called the index. If your page is in the index, it can show up in search results. If it is not, nobody can find it through Google, no matter how good it is.
There are three stages, and it helps to know the difference:
- Crawling: Google visits your page.
- Indexing: Google saves your page in its library.
- Ranking: Google decides where your page appears in the results.
This guide is about the first two. Ranking comes later.
Step 1: Check If Your Site Is Already Indexed
Before fixing anything, find out where you stand. There are two easy ways.
Method A: The site: search
Open Google and type this, using your own domain:
site:yourwebsite.com
If you see your pages listed, Google has indexed at least some of them. If you see “did not match any documents”, your site is not indexed yet.
Method B: The URL Inspection tool
Inside Google Search Console (we set it up in Step 3), paste any page address into the search bar at the top. Google will tell you whether the page is on Google or not. This is more accurate than the site: search.
Step 2: Make Sure WordPress Is Not Blocking Google
This is the number one reason new WordPress sites are invisible. WordPress has a setting that politely asks search engines to stay away. Many developers turn it on while building the site and forget to turn it off.
- Log in to your WordPress dashboard.
- Go to Settings → Reading.
- Find Search engine visibility.
- Make sure the box “Discourage search engines from indexing this site” is unticked.
- Click Save Changes.
Also check each important page. SEO plugins let you mark a single page as “noindex”. If a page has that tag, Google will skip it. You can spot it in the page source:
<meta name="robots" content="noindex, nofollow" />
If you see the line above on a page you want in Google, remove it. In Yoast SEO or Rank Math, open the page, find the Advanced settings, and set it to allow search engines to show the page.
Step 3: Set Up Google Search Console
Google Search Console is a free tool from Google. It is like a report card for your website. It tells you if Google can see your pages, and it lets you send messages to Google.
- Go to Google Search Console and sign in with your Google account.
- Click Add property.
- Choose Domain (covers http, https and www) or URL prefix (easier for beginners).
- Verify that you own the site.
Easy verification options for WordPress
- Plugin method: Yoast SEO and Rank Math both have a place to paste the verification code. No coding needed.
- HTML tag method: Google gives you a tag like the one below. Paste it inside the head section of your site, using a plugin such as “Insert Headers and Footers”.
- DNS method: Add a TXT record at your domain provider. Best for the Domain option.
<meta name="google-site-verification" content="YOUR_UNIQUE_CODE_HERE" />
After verification, give Search Console a little time to collect data about your site.
Step 4: Create an XML Sitemap
A sitemap is a list of all the important pages on your site, written for robots. Think of it as handing Google a map of your shop with every aisle marked.
You do not have to build it by hand. WordPress can do this for you:
- WordPress core: Newer versions create a basic sitemap at
yourwebsite.com/wp-sitemap.xml. - Yoast SEO: Creates one at
yourwebsite.com/sitemap_index.xml. - Rank Math: Also uses
yourwebsite.com/sitemap_index.xml.
Open the address in your browser. If you see a list of links, your sitemap works. Use only one sitemap source. If you run an SEO plugin, let it handle the sitemap and avoid duplicates.
Here is what a tiny sitemap looks like behind the scenes, so you know what Google reads:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://yourwebsite.com/</loc>
<lastmod>2026-10-18</lastmod>
</url>
<url>
<loc>https://yourwebsite.com/my-first-blog-post/</loc>
<lastmod>2026-10-18</lastmod>
</url>
</urlset>
Step 5: Submit Your Sitemap to Google
- Open Google Search Console.
- In the left menu, click Sitemaps.
- Type your sitemap address, for example
sitemap_index.xml. - Click Submit.
The status should say Success. If it says “Couldn’t fetch”, open the sitemap link in your browser to check that it loads, then try again later.
Step 6: Check Your robots.txt File
The robots.txt file is a small text file that tells crawlers where they can and cannot go. It lives at yourwebsite.com/robots.txt.
A mistake here can block your whole site. This is the dangerous version. Never use it on a live site:
User-agent: *
Disallow: /
That tells every robot to stay away from everything. If you see it, fix it right away.
Here is a safe, simple robots.txt for most WordPress sites:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://yourwebsite.com/sitemap_index.xml
Replace the sitemap address with your own. In Yoast SEO, you can edit this file under Tools → File editor. In Rank Math, look under General Settings → Edit robots.txt.
Tip: Do not block your CSS or JavaScript folders. Google needs them to see your pages the way visitors do.
Step 7: Request Indexing for Your Important Pages
Now you can ask Google to visit specific pages. This works well for new posts, new pages and recently updated content.
- In Search Console, paste the page URL into the top search bar.
- Wait for the inspection result.
- If it says “URL is not on Google”, click Request indexing.
- Wait for the confirmation message.
Google limits how many requests you can send each day, so start with your most important pages: your home page, main service pages and best blog posts. Sending the same page again and again will not make it faster.
Step 8: Build Strong Internal Links
Crawlers move through the web by following links, just like you click from one page to another. If a page has no links pointing to it, it is called an orphan page, and Google may never find it.
To fix this:
- Link new posts from older, popular posts.
- Add important pages to your main menu or footer.
- Use clear anchor text, such as “WordPress sitemap guide”, instead of “click here”.
- Add related posts at the bottom of articles.
- Make sure every page is reachable within three clicks of the home page.
A tidy link structure helps Google understand your site and helps visitors too.
Step 9: Publish Helpful, Original Content
Google does not index everything it finds. It tries to keep only pages that are useful. A page may be skipped if it looks thin, copied or empty.
To give your pages the best chance:
- Answer one clear question per page.
- Write original content. Do not copy from other sites.
- Use clear headings, short paragraphs and simple words.
- Add images with helpful alt text.
- Avoid publishing dozens of near-identical pages.
- Update old posts to keep them fresh.
Step 10: Add Schema Markup (Structured Data)
Schema markup is extra information, written in code, that helps Google understand what your page is about. It does not guarantee indexing, but it makes your pages easier to read for machines and can unlock rich results.
Yoast SEO and Rank Math add basic schema automatically. If you want to add your own Article schema, use this example and change the details:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Get Your WordPress Site Indexed on Google",
"description": "A simple step-by-step guide to getting a WordPress site indexed on Google.",
"image": "https://yourwebsite.com/wp-content/uploads/indexing-banner.png",
"author": {
"@type": "Organization",
"name": "Connect Digital World"
},
"publisher": {
"@type": "Organization",
"name": "Connect Digital World"
},
"datePublished": "2026-10-18",
"dateModified": "2026-10-18",
"mainEntityOfPage": "https://yourwebsite.com/wordpress-site-indexed-google-step-by-step"
}
</script>
If your plugin already creates Article schema, do not add a second copy. Test your page with Google’s Rich Results Test tool to confirm everything is valid.
Step 11: Make Your Site Fast and Mobile-Friendly
Google mainly looks at the mobile version of your site. A slow or broken mobile page can hurt crawling and indexing.
- Use a lightweight, well-coded theme.
- Compress images before uploading them.
- Install a caching plugin.
- Use good hosting.
- Remove plugins you do not use.
- Use HTTPS (an SSL certificate) on your whole site.
Check your pages with Google’s PageSpeed Insights, and use the Page indexing report in Search Console to spot server errors.
Step 12: Get a Few Quality Backlinks
A backlink is a link from another website to yours. When Google crawls those other sites, it follows the link and discovers yours. A few good links from real sites can speed up discovery.
- Share your posts on social media.
- List your business in trusted directories.
- Write a guest post for a related blog.
- Create something worth linking to, such as a free guide or a checklist.
Avoid buying cheap link packages. They can do more harm than good.
Common Indexing Problems and How to Fix Them
Open Search Console and go to Pages (the Page indexing report). It shows why some pages are not indexed. Here are the most common messages.
Discovered – currently not indexed
Google knows the page exists but has not visited yet. Improve internal links, make sure your site loads fast, and be patient.
Crawled – currently not indexed
Google visited the page but decided not to store it, often because the content seems thin or low value. Make the page more useful, add original details and examples, then request indexing again.
Excluded by “noindex” tag
A noindex tag is blocking the page. Remove it using your SEO plugin, as explained in Step 2.
Blocked by robots.txt
Your robots.txt file is telling Google to stay out. Edit the file and remove the rule that blocks the page.
Duplicate without user-selected canonical
Google thinks the page copies another one. Add a canonical tag that points to the main version:
<link rel="canonical" href="https://yourwebsite.com/main-page/" />
Page with redirect
The page sends visitors somewhere else, so Google indexes the destination instead. This is normal. Just make sure the final page is the one you want.
Server error (5xx) or Not found (404)
Your hosting may be unstable, or the page was deleted. Fix the server problem or restore the page. If you removed it on purpose, use a proper redirect.
How Long Does Google Indexing Take?
There is no fixed answer. A brand-new site can take anywhere from a few days to a few weeks. An established site with regular updates is often crawled much faster. Requesting indexing and submitting a sitemap help, but Google makes the final decision.
If it has been more than a few weeks and nothing has changed, go back through the checklist above and look at your Page indexing report for clues.
Frequently Asked Questions
Why is my WordPress site not showing on Google?
The most common reasons are the “discourage search engines” setting being on, a noindex tag, a robots.txt block, or the site being too new. Check Steps 2 and 6 first.
How do I submit my WordPress site to Google?
Add your site to Google Search Console, verify it, and submit your sitemap under the Sitemaps menu.
How can I get my site indexed faster?
Submit your sitemap, request indexing for key pages in the URL Inspection tool, add strong internal links, and publish helpful content regularly.
Is Google Search Console free?
Yes. It is completely free to use.
Does Google index every page automatically?
No. Google chooses which pages to store, based on quality, usefulness and technical access.
Do I need an SEO plugin to get indexed?
You do not strictly need one, but plugins such as Yoast SEO or Rank Math make sitemaps, noindex settings and schema much easier to manage.
Can I pay Google to index my site?
No. Indexing is free. Be careful of anyone who says they can guarantee instant indexing for a fee.
Final Thoughts
Getting your WordPress site indexed on Google is not magic. It comes down to a few simple jobs: let Google in, show Google the map, point to your best pages, and keep creating helpful content.
Start with the basics today: untick the search visibility box, set up Search Console, and submit your sitemap. Then keep improving your pages week by week. Soon your site will move out of the hidden alley and onto the main street of the internet.
Did this guide help you? Leave a comment and tell us which step solved your problem. For more simple SEO and WordPress tutorials, keep following Connect Digital World.



