How to Remove NoIndex Tag in Wordpress | With or Without Plugin
Contact Today
How to Remove NoIndex Tag in WordPress with plugin without plugin - Strive Digitals

How to Remove NoIndex Tag in WordPress

If your WordPress website isn’t appearing on Google, there’s a high chance that a noindex tag is preventing search engines from displaying your content. This guide will explain how to remove the noindex tag in WordPress using simple language and clear instructions. Even if you’re new to WordPress or SEO, this guide will help you fix the issue.

We’ll cover all methods to remove the noindex tag, including plugin-based and manual methods. You’ll also learn how to avoid future issues.

What is a Noindex Tag in WordPress?

A noindex tag is a command added to web pages that tells search engines like Google, Bing, and Yahoo not to include those pages in their search results.

For example:

<meta name="robots" content="noindex">

If this tag appears in your page’s code, search engines will ignore that page.

Why Does WordPress Add a Noindex Tag?

WordPress may automatically add a noindex tag due to several reasons:

Privacy Settings Enabled: WordPress has a built-in option to discourage search engines from indexing your site.

SEO Plugin Settings: Plugins like Yoast SEO or Rank Math may accidentally mark your pages as noindex.

Robots.txt File Issue: Your robots.txt file may contain rules that block search engines.

Unpublished or Draft Content: Pages still in draft mode or unpublished may show a noindex tag.

Theme or Code Changes: Some themes and developers manually add noindex tags in the code.

How to Check If Your Website Has a Noindex Tag

Before fixing the issue, you must confirm if the noindex tag exists. Here are two simple ways to check:

Method 1: Using Google Search Console

1. Go to Google Search Console.

2. Select your website.

3. Navigate to the Pages report.

Pages section in google search console

4. Click on the Excluded by ‘noindex’ tag tab.

Excluded by noindex tag in google search console

5. Click on the affected URLs to view details.

Method 2: Viewing Page Source

  1. Open your website in your browser.
  2. Right-click on the page and select “View Page Source”. Short cut for the Ctrl + U (Windows) or Command + ALT/Option + U (Mac)
  3. Press Ctrl + F (Windows) or Command + F (Mac).
  4. Type noindex in the search bar.
  5. If you find this tag:
    <meta name="robots" content="noindex">

    It means the page is blocked from appearing in search results.

How to Remove the Noindex Tag in WordPress

Below are five effective methods to remove the noindex tag in WordPress.

Method 1: Using Yoast SEO Plugin (Recommended for Beginners)

Yoast SEO is one of the most common plugins that may add a noindex tag. Here’s how to fix it:

1. Log in to your WordPress dashboard. Domain/wp-admin

2. Go to Particular Pages or Posts.

3. Select the page or post you want to fix.

4. Scroll down to the Yoast SEO settings.

5. Click the Advanced tab.

advance tab in yoast seo for remove noindex tag

Find the option: “Allow search engines to show this page in search results?”

Select “Yes”.

Click Update to save changes.

Pro Tip: Ensure you also check category, tag, and archive pages in Yoast SEO settings. Sometimes these are accidentally marked as noindex.

Method 2: Using Rank Math Plugin

  1. Log in to your WordPress admin panel.
  2. Open the page or post you want to fix.
  3. Scroll down to the Rank Math SEO settings.
  4. Select the “Advanced” tab.
  5. Locate the “Robots Meta” setting.
  6. Ensure it’s set to “Index”.
  7. Click Update.

Bonus Tip: Check Rank Math’s Title & Meta settings for hidden noindex tags in archive pages or author pages.

Method 3: Via WordPress Settings (For Site-Wide Noindex Issues)

If your entire website is noindexed, it may be due to incorrect WordPress settings.

1. Go to your WordPress dashboard.

2. Click Settings > Reading.

on wordpress dashboard setting > reading

3. Find the option “Discourage search engines from indexing this site”.

 Discourage search engines from indexing this site setting in wordpress

4. Ensure this box is unchecked.

5. Click Save Changes.

how to remove noindex tag from wordpress site

Method 4: Editing the Robots.txt File

What is robots.txt and Its Purpose?

The robots.txt file is a text file located in your website’s root directory. It tells search engine crawlers (like Googlebot, Bingbot) which pages or sections of your website they can or cannot access.

You can easily check if your website has a robots.txt file by typing your domain followed by /robots.txt in your browser’s address bar. For example:

https://example.com/robots.txt

For example:

  • Allow rules tell search engines which pages they can index.
  • Disallow rules tell search engines which pages they cannot index.

If your robots.txt file blocks search engines, you need to fix it.

  1. Access your WordPress site using cPanel, File Manager, or FTP.
  2. Locate the robots.txt file in the root folder.
  3. Open the file and check for these lines:
User-agent: *
Disallow: /
  1. If you see this, delete the lines.
  2. Save the file and re-upload it if needed.

Method 5: Editing Theme Files (For Advanced Users)

If none of the above solutions work, the noindex tag may be added directly in your theme’s code.

  1. Go to Appearance > Theme Editor.
  2. Select the header.php file.
  3. Press Ctrl + F and search for noindex.
  4. If you find this tag:
<meta name="robots" content="noindex">
  1. Delete this line.
  2. Click Update File to save changes.

How to Noindex a Page in WordPress Without a Plugin

If you want to noindex a page without using a plugin, follow these steps:

  1. Go to Pages in WordPress.
  2. Edit the desired page.
  3. Switch to the Text view (HTML mode).
  4. Add the following tag inside the <head> section:
<meta name="robots" content="noindex">
  1. Click Update to save.

Best Practice: Only noindex pages like thank you pages, admin login pages, or private content that shouldn’t be indexed.

How to Unblock Robots.txt and Remove Noindex Tag

If your website’s robots.txt file blocks search engines, follow these steps:

  1. Access your site via FTP or File Manager.
  2. Open the robots.txt file.
  3. Delete slash from the below line:
Disallow: /
  1. Save the file and upload it back to your server.

✅ After this change, request indexing in Google Search Console to speed up the crawling process.

Conclusion

Removing the noindex tag in WordPress is essential for improving your website’s visibility in search results. Whether you’re a beginner or an experienced WordPress user, following these steps will help you fix the issue.

If you’re unsure about technical steps or want expert assistance, reach out to Strive Digitals a digital marketing and web development agency. Our experienced team specializes in SEO, website development, and digital marketing solutions.

Leave a Comment

Your email address will not be published. Required fields are marked *