WordPress noindex nofollow

WordPress noindex nofollow directives

Caution should be given to the reader about using WordPress noindex nofollow settings as these settings guide Google about what part of your website, and which links on your WordPress site that it can follow. Because getting this right can benefit your web site, but getting this wrong can make your site (or parts of it) disappear from Google search results as well. So you are cautioned.

Also the reader should be informed that this particular blog post about nofollow and noindex is an extension to the  blog post by RankYa. Let’s begin learning better ways to use these meta tags for our WordPress site.

The WordPress noindex nofollow Settings Google Doesn’t Clarify — WHY?

Because not everyone uses WordPress. Also think like so “in Search Console HTML Improvements > Duplicate Title and Meta Description” usually shows up for most WordPress built sites. Why?

Its the way Google and WordPress works by default. So we need to then ask: do we really want parts of a WordPress built site to be indexed by Google? These parts include but not limited to: , tags, date archives since these parts of WordPress are not unique at all. Also, you need to remember that Google says create original and unique content on your website which should naturally include ALL URL’s Google indexes.

Therefore, those parts as mentioned above of WordPress are not unique (because they are a simple duplication of your main posts or pages (paginations are that, duplicates, tags are that, duplicates, archives are that, duplicates)) these do not need to be indexed by Google. Because these do not serve your Google rankings at all. It dilutes keyword rankings.

Why Does Google Suggest not to Use noindex nofollow directives for Websites?

Because Google customers usually get things wrong and then bombard Google webmaster forums with things like “I in my WordPress site, now I can’t find my website in Google” or  (just because these SEO experts don’t understand what are, or how noindex works in conjuction with or with links from other parts of a website, means Google has to generalize its suggestions to cater for those thousands of website owners (who Google knows will get things wrong). So it just plays it safe by reasoning as to say

Since we know most website owners will get these settings wrong, let us just suggest to all of them to not use noindex nofollow directives

Particularly, if those website owners were also . Because getting things wrong with noindex will also stuff up Google AdWords campaigns causing much unneeded headache for everyone.

But You Need to Be a Smarter Website Optimizer and Understand What These Directives Do and How You Can Use Them to Your Advantage

noindex usage:  and perhaps this could be ideal

<?php if (is_date() || is_year() || is_month() || is_day()) : ?>
<meta name="Googlebot" content="noindex">
<meta name="Googlebot" content="follow">
<meta name="robots" content="noindex">
<meta name="robots" content="follow">
<?php endif; ?>

Why you would use 2 user-agents specifically (robots, and Googlebot) because if you do not use Googlebot specifically, then Googlebot may actually follow links from other search engines results (confusing isn’t it?) but don’t be, as RankYa tries to simplify best practices for you to remember when using these noindex nofollow meta tags for your WordPress site.

noindex in WordPress

When Google sees this on a given URL (part by part in case of tags, category or date archives or pagination) it then means:

Hey, there is noindex directive meta tag on this URL, so we can’t place the contents within this Web Document in our index

nofollow in WordPress

When Google finds a link on a given URL, it adds that URL detail in its next to be fetched URL list (it does this continuously while finding new, already , or deleted URL’s on internet (this is a massive task indeed, but Google is highly efficient in doing this) that means, if you used noindex for but haven’t for year based archives, then Google may follow links it finds on year based archives. Simply, this is what you are saying to Google:

Hey Google, if you see nofollow meta tag on this URL, then, do whatever you want with the contents, but, when you see ANY links on this Web Document do NOT follow them nor put them in your next to be fetched URL list

That is why, you want to learn what these directives do and how you can use them separately or together to gain absolute control of what Google indexes or finds ( URI’s).

Easy Way to Use No Index No Follow in WordPress Using Yoast SEO Plugin
WordPress noindex nofollow directives
Shows Yoast SEO noindex nofollow options

Example usage: you’ve got a page for thank you or cancel confirmation for your website visitors upon subscription, purchase or contacting you. Then if you do not want search engines like Google to see that page, you can set per URL basis. Meaning, if you are using Yoast SEO Plugin, you can easily tell Google to noindex a particular page (Yoast also remove that URL from XML sitemaps as well (which is great))

Sample noindex nofollow Directives for WordPress

These directives are taken from RankYa.com SEO Blog (it is placed within header.php in . Use it only to understand how else to use noindex and nofollow directives for your WordPress built site.

Because each website is unique, there are no best practices apart from answering which parts of my website is unique enough for me to let Google place the contents of that URL in its database for ranking purposes?

NoFollow NoIndex Meta Tags for WordPress
Shows sample WordPress specific PHP conditional statements for using NoFollow NoIndex Meta Tags for controlling indexation and URL following of Googlebot user-agent

Note: do not just go ahead and use these example noindex and nofollow meta tags for your own website that is live on internet. Instead take it as guiding information.

Video Lesson Showing WordPress Yoast noindex Settings

Meta Tags Settings for New WordPress Web Development Projects

Site-wide usage of noindex and nofollow directives are great for brand new web development projects, as it will make sure that Google and other major search engines do not index your development website, till your new website is ready. To use it, you would simply place in header.php file < head > portion of HTML

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

And when your website is ready to go live, you would remove the above meta tags. Do you know of a better way to use these meta tags, or having duplicate content issues in Search Console? If so comment

72 / 259 Malvern Rd Melbourne Australia 3141

+61421600702 $$

Author: RankYa

RankYa: Online Entrepreneur, Web Developer, Google AdWords and Google Analytics Certified Professional. Specialist in: SEO, Website Optimization, WordPress, Structured Data, JSON-LD, Microdata, Microformats, RDF, Schema.org Vocabulary, HTML5, Advanced Image Optimization, Google Webmaster Tools, Google Webmaster Guidelines, Social Media Marketing, Facebook marketing and YouTube video ranking mastery.

Thank you for sharing this blog post. Description: 'Use WordPress noindex nofollow directives correctly with best practices for WordPress sites, nofollow means do not follow links, noindex means do not index'