How to Noindex WordPress Category, Tags And Pagination

Want to Noindex WordPress Category And Pagination? Here is the way…

WordPress is one of the best among all CMS and more than 30% of website and blogs over the internet is powered by WordPress only. Even this blog is also created over WordPress.

Let’s get to the point now, we create many articles and use many Tags in it. Sometimes we use Pagination (Page Break) to increase the revenue from AdSense and other networks.

Most of the time it works but it causes SEO mistakes like duplication of meta tags, description Category, etc. and also negative affect in the search ranking.

To prevent this, it’s good to Noindex WordPress Category And Pagination. In this article, I’ll give you all step by step guide to do this job.

How to Noindex WordPress Category And Pagination

There is no point to index the thin content in the search engines, therefore it down your website ranking.

Noindex WordPress Category And Pagination

“A bad fish make the whole pond dirty.” Similarly, your some bad content can destroy your all hard work. If you have some good content, it’ll be a gonna.

There are two major benefits for Noindex WordPress Category And Pagination,

  • The duplicate content issue will be solved.
  • Only Quality content will be an index which increases your website ranking.

To hide WordPress Category And Pagination or tags, you do not need any special knowledge of Coding. You can do this from Yoast SEO plugin.

  • Go to WordPress dashboard >>Yoast >> Search Appearance >> Click Taxonomies option
  • Select NO on Show categories in search results and Show tags in search results.
  • Last, click on save. And that’s it.

Noindex WordPress Category And Pagination

Noindex WordPress Blog Pagination

To noIndex WordPress paginated links, you have to do it manually. Don’t worry, you do not need any special knowledge, the follow the process. And this can be done in functions.php.

Go to WordPress dashboard Appearance >> Editor >> Functions.php and Add the below code at the end of the file.

//* Noindex pagination links
add_action('wp_head', 'smi_noindex_pagination');
function smi_noindex_pagination() {
if( is_paged() )
echo '<meta name="robots" content="noindex,follow"/>';

Now Save the find and open you any pagination post link like, or

And search the below code in the source code to confirm that you have successfully entered your code.

<meta name="robots" content="noindex,follow"/>

After entering the above code, whenever google crawl comes to your website for crawling, they will remove the pagination pages.

If you want Google to not to index your WordPress blog categories, tags, and pagination, you can do this by robots.txt file.

If you want to Disallow Categories, Add Code:

Disallow: /category/

Disallow Tags:

Disallow: /tag/

For Pagination:

Disallow: /page/

Disallow WordPress Categories, Tags and Pagination

User-agent: * Disallow: /tag/ Disallow: /category/ Disallow: /page/

By this way, you want Noindex WordPress Category And Pagination. I hope you guys like this article. You can also share this with your friends to help them.

In addition, You may also like: How to Secure WordPress Site from Hacking