Blogging Search Engine Optimization (SEO) WordPress

[Extensive Guide] How to Setup & Configure Yoast SEO WordPress Plugin

WordPress is world’s best CMS (Content Management System) around the world wide web. Anyone who installs WordPress, comes across SEO plugins that could make life easier by auto tweaking website to make it Search Engines friendly.


There are many plugins available on WordPress plugins repository but I rank Yoast SEO the best free SEO plugin in the market. This could be very bold stance of declaring it no. 1 but yes, Yoast has dominated the market for its lightweight, easy to use and comprehensive settings.

Yoast SEO can do everything a professional SEO expert can do when it comes OnPage SEO. It can do all the stuff needed for a website to make it search engines friendly or say Google friendly.

10,00,000+ websites are using Yoast SEO WordPress plugin

Yoast SEO WordPress plugin can be harmful for your site too!!!


You read it right.

It requires proper setting and if not done properly, it could damage your site’s SEO for example it may index duplicate content, deindex all of your site and can create other similar issues.

So, let’s configure Yoast SEO with Tanveer and see how M Tanveer Nandla uses Yoast SEO WordPress plugin on his websites. Let’s start learning how to use Yoast SEO WordPress plugin with best practices.


Yoast SEO WordPress plugin can be installed straightforward like other plugins.

Navigate to

⇒ Plugins ⇒ Add New ⇒ (Type in search bar) Yoast SEO ⇒ Install and activate Yoast SEO Plugin



You can download Yoast SEO WordPress plugin from this URL and upload it manually through FTP or web hosting control panel such as cPanel and Plesk.

Yoast WordPress SEO Configuration


You’ve successfully installed Yoast WordPress SEO plugin and now ready to configure it with SEO best practices.

Now click Settings link of Yoast on Plugins page in WordPress. This will take you to Yoast basic configuration wizard which looks like:


1- Welcome

First screen shows the subscription form for Yoast. you can simply skip this step if you do not wish to receive emails by Yoast. At Least I don’t 🙂

Click NEXT

2- Environment

Yoast SEO WordPress Configuration - Environement

Yoast SEO WordPress Configuration – Environment

At this point, you will be selecting environment of your site. You will need to select one option out of three. Normally we opt to choose Production as we are configuring Yoast on a live site.

  • Production (this is a live site with real traffic)
  • Staging (this is a copy of a live site used for testing purposes only)
  • Development (this site is running locally for development purposes)

3- Site type

Yoast SEO WordPress Setting Wizard Site Type

Yoast SEO WordPress Setting Wizard Site Type

Yoast is asking what site type you are? If you’re running a blog on this website then you will simply check Blog, if it is an ecommerce website then go for WebShop, News site option will be checked if you are planning to start a news website. Due to this selection, Yoast will categorize your website accordingly.

4- Company or person

Yoast SEO WordPress Setting Wizard company or person

This is self explanatory option as if you are a company, blog or non-personal site then chose Company or otherwise choose person.

  • Fill in The name of the company/blog
  • Upload logo of your company/blog

5- Social profiles

Yoast SEO WordPress Settings Social Profiles

Fill in social profile URLs. Social profiles are very helpful for social appearance as it gives you exposure of social media and help you build social branding of your website/blog.

Click NEXT

6- Post Type Visibility

Yoast SEO WordPress Settings post type visibility

In the post type visibility setting we have three options for posts, pages and media. If you select post type hidden it will no-index your posts which means your posts will be hidden from search engines. By default posts and pages are set on visible.

7- Multiple Authors

Yoast SEO WordPress Settings multiple authors settings

You have to specify that your website will have a single author or multiple authors for posting articles.

8- Google Search Console

Yoast SEO WordPress Settings Google search console settings

Yoast helps you to integrate your Google search console or Google web masters tool with your website (First you have to create your Google webmasters account). This will help you track how your website is indexed in Google and other settings GWT offers. You can create an account on search console using your gmail account.

9- Title Settings

Yoast SEO WordPress Title settings

  • Website name

Fill in the website’s name you wish to appear in search results.

  • Title Separator

Yoast let you select symbol to use as title separator. Just click on the symbol you prefer under the tab Title Separator. These separators appear between your site name and post’s title.

Click Next

10- Success

Congratulations you have completed your Yoast Plugin Configuration wizard.

Yoast WordPress SEO Settings

Now you are done with Yoast Plugin Configuration and its time to go deeper into Yoast settings.

– Titles & Metas

Under titles and metas, set how title tags, meta descriptions tags and robots metas for post types and taxonomies settings. We will go through each of the settings one by one.

General settings

Title and metas yoast settings

Here you can set some of your website’s general settings.

Force rewrite titles: If Yoast settings don’t appear on site like you set title of homepage template in yoast but on your homepage, only sitename is appearing in title tag, it means theme or plugin other than Yoast overriding the SEO settings for your website.

Enabling force rewrite titles can fix duplicate site name but it’s not preferred according to Yoast since it can slow down your site. The preferred solution is to go to Appearance –> Editor –> Header.php, then delete everything between <title> and </title, then replace it with the code below. This affects the SEO title structure for all pages so when you’re done, double check how your new SEO titles appear (again, by hovering over the browser tab).

<title><?php wp_title(''); ?></title>

Home Page settings

As the name suggests, you will now define the title and meta description of your homepage. Title template is basically a way in which you define how your title and meta description appear on your website/blog and suggest Google to pick that meta title and meta description. We will discuss how meta title and meta description are written in onPage SEO techniques.


You can set it statically for your homepage but for post type, you can set a template so each post have unique title and meta description.  The predefined title templates is good to go. Enter your website’s description and Click on Save Changes.

Post Types settings


Yoast allows you to set your own post type title template such as page, post, attachments and revisions.

WordPress Post Types

  • Post (Post Type: ‘post’)
  • Page (Post Type: ‘page’)
  • Attachment (Post Type: ‘attachment’)
  • Revision (Post Type: ‘revision’)
  • Navigation menu (Post Type: ‘nav_menu_item’)

Use template tags as shown above in the image and write down unique title for every post you write. This template tag will bring your post title as your meta title and %%excerpt%% will auto generate your meta description tag from your content. That’s my recommended settings for Post Types meta templates.

Meta Robots let you select between index (Search engines can index your content) and noindex (Stop search engines to crawl and index your content/post).

2- XML Sitemaps

Sitemaps are used to inform search engines about you content. It is basically a map which contains all the pages and content of your website and this map is read by search engine web crawlers like Googlebot. This helps the search engine to know about the website’s organization.


In WordPress Yoast SEO let you add XML sitemaps. Enable the XML sitemap functionality. You don’t need to generate XML sitemap manually Yoast will automatically generate sitemap for your website after every post.

yoast xml sitemaps

Under the Posts Types Tab you can select the things which you want to appear in your site maps. Like if you don’t want media on your website in your sitemap just click on “Not in sitemap” option.

xmlsitemap excluded posts

You can also  exclude or remove any of your posts from sitemap using “Exclude Posts” Tab. Just enter the Post ID’s in the textbox below and use comma in case of multiple posts.

xml site map taxanomies

Categories, Tags and other taxonomies of your WordPress website can be customized for sitemap under the “Taxonomies” tab. This is one of the important parts of Yoast and needs to be configured properly.

Taxonomies Configuration


As you can see in the picture given below. Title template must acquire term_title and Page. On the other side, Meta description template should have category_description. Meta Robots must be “Index” and Yoast Meta Box should “High



Do the same with tags as done with categories.



Tags! Index or NoIndex?
Should tags be no index or index? That’s a very hot debate that never ended even in 2016.


Let me sort this out with the best practice i am using since years and what I learnt from my experience.

  1. You want to rank for more keywords?

If you want to rank for more keywords then set tags indexing status on and let tags rank for you. Do not make too many tags per post otherwise it may go towards keyword stuffing and your site may get penalized. Make few tags that can be used as sub categories. You can find tags related to your post by using Google suggest aka Google instant. I will make a detailed post about it next time.

So, I would prefer to use tags as sub categories and rank them to get more visitors for my site. Add up unique title and unique description to each tag so it gets some value and can rank in Google Search Engine Result Pages. This method has worked pretty fine for me and sometime when I couldn’t rank for my main keyword, one of those tags ranked and given me thousands of visitors.

2. If you want to make keyword stuffing then set tags as nofollow and noindex. It may help you in on page SEO for a while. Few people tend to use more than 10 tags for a 500 words post and repeat the words related to their post again and again. This may help in manipulating Google rankings but your rankings won’t last longer and also you will miss a big chunk of visitors.

If you got any confusion about above two methods, you can ask in comments section below.


Just enable the format based archive and title template as should be as mentioned below in screenshot, while On the “noindex” in Meta Robots.


We want to disable any unnecessary archives. If you think you have created any custom taxonomy, you may set meta robots for format based archives as index.

Archives Configuration

These are some simple and small, but important settings that you have to do properly in Archives too. Just switch on “Disbaled” in Author Archives, and “noindex” in Meta Robots.


Date Archives:

Date Archives’ title template must contain date, page, sep and sitname while turn on the button of “Disbaled” in Date-Bared-Archive and “noindex” in Meta Robots.


Special Pages:

Search page will have search phrase and page name in it. Not Found page can have text of your choice, I opted to write Page not found separator and then site’s name.


3- Breadcrumbs (Advanced)

Breadcrumbs give your advantage in in search results. Breadcrumbs, as the name suggests provide a concise trail or path of the page you are on.  For example > Blogging > Casestudy

yoast breadcrumb

Just hit the enabled button and breadcrumbs will be enabled for your wordpress website. You can set the separator between breadcrumbs and other options here. You can also Bold the last page in the breadcrumb hierarchy which will be the page you are on.

IMPORTANT: Simply switching breadcrumbs on will not activate the breadcrumbs on your site. You will still need to modify your theme’s template to show it on your site. You can follow this guide on how to do it:

3- Permalinks (Advanced)

First you have to select SEO friendly permalink structure in WordPress settings because this feature of Yoast provides Add on’s to the permalink structure you have selected in wordpress settings. So don’t get confused between WordPress and Yoast permalinks settings.  

yoast permalink settings

If you want to remove the default “/category/” from your URL you can  select REMOVE under change URL’s. It will exclude that part from the URL of your categories and that’s what looks nice actually.

Alert: Doing this can sometimes create conflict between page URL’s and category URL’s.

Attachments to the posts can be accessed using their own URLs but if you redirect those posts to parent post then that will redirect them to the post they are attached to.

Alert: If you don’t select this option and you use galleries on your site may result in disabling Adsense on your website as attachment pages contains no content so Google Adsense disables such sites

The next option will help you remove the stopwords ( of, for etc ) from your URL. Some people disagrees with Yoast and leave this option unselected as enabling this feature may end up in some conflict with other plugins or theme.

Remove the ?replytocom variables is to remove or keep ?replytocom variable from the comment links to disable links for users that have JavaScript disabled. This is used to increase the efficiency of crawls specially for a website with huge number of comments.

We advise to ignore you the “Redirect ugly URLs to clean permalinks” option.

Alert: This can cause problems in your plugins.

Click Save Changes.

Yoast SEO For Post Customization

You will now see a Yoast SEO Box below every post and page editor which will help you customize your post to be SEO friendly.

Now we will discuss how to configure a post using Yoast properly.


Under the focus keyword enter the keyword you want this post to rank for. Than Click on Edit Snippet. This will expand this box into a snippet editor.


SEO title will the title template which we used during the setting of our Yoast plugin. Enter your Meta Description about the post which will just be the optional summary of your post. And then Close the snipper editor. After providing the focus keywords Yoast will provide you insights or suggestions for your post under the Page Analysis Tab. The suggestions will look like this.


Follow the instructions generated by this tab to improve the visibility of your post in search engines. These are very straightforward but important things just read them carefully and implement the suggestion. Usually this analysis helps a lot but remember don’t over optimize the article so that i losses its true meaning.

Download Yoast SEO WordPress Settings

It was a long guide of Yoast configuration, even I have tired of reading it so let me make it easy for you. I’ve export yoast seo settings for you so that you can download it and import it on your website. This will hardly take your 120 seconds. Happy?

How to Import Yoast SEO Settings?

Go to Yoast SEO Settings Page > Tools > Import > Choose File (Select file you just downloaded) > Import Settings.


Go to this URL: yourwordpresswebsite/wp-admin/admin.php?page=wpseo_tools&tool=import-export

Final Notes

I prefer Yoast SEO WordPress plugin over All in One SEO pack and other similar plugins because Yoast is efficient, simple, fast and comprehensive. It fulfills all of your SEO requirements if used properly.

Feel Free to ask any related question in comment section below.

User Review
9.03/10 (52 votes)


Leave a Comment