Website traffic is the lifeblood of any online business. The more traffic you have, the more your revenue.
While there are dozens of different ways to drive traffic to your website, search engine optimization (SEO) is the most effective.
If your WordPress powered website is optimized using Yoast SEO, you can receive literally thousands of targeted visitors every day for free who are ready to buy what you are selling.
Receiving that amount of free visitors from organic search is what every marketer and business owner dreams of.
But here’s the deal:
Getting there is hard, and it involves a lot of SEO work.
You need to handle both on-page and off-page SEO.
A lot of people neglect the importance of good on-page SEO. But believe me, it’s as important as off-page SEO tactics such as linkbuilding.
On-page SEO helps Google know what your content is all about and the keywords you are trying to target.
Now, on-page SEO sounds simple on the surface, but there’s a lot that goes on backstage.
It’s not as simple as adding a few keywords to the title and sprinkling the same keywords a dozen times in the content.
That’s what most people believe on-page SEO is about. But there’s much more to it. More than you can probably handle yourself.
While WordPress out-of-the-box is optimized for search engines like Google, it still lacks a lot of features you need to fully optimize your site for search engines.
For example, WordPress doesn’t offer a built-in way to edit the meta description of your posts and pages.
This is where Yoast SEO plugin for WordPress comes to the rescue.
Yoast is a free plugin that handles all the technical part of on-page SEO, so you can focus on what you are best at, producing great content.
In this Yoast SEO tutorial, I will guide you through the simple process of installing and setting up WordPress SEO by Yoast plugin.
I often get asked what’s the best and recommended settings for Yoast. This is the exact process and configuration settings I use on every single website I create. So, if you are ready, let’s dive in.
What is Yoast SEO
Yoast SEO is a free WordPress plugin created by Joost De Valk that helps you optimize your website for search engines without writing a single line of code.
The plugin has 3+ million active installs, five star ratings and handles everything from generating your site’s meta data, XML Sitemap, breadcrumbs to managing redirections.
In short, Yoast makes SEO simple and easy for everyone.
It not only helps you optimize your site for Search Engines like Google, it also helps you improve the quality of your site’s content.
Yoast SEO is a complete solution. And without Yoast SEO, you will have to install more than a dozen plugins to fully optimize your site for Search Engines.
Installing the plugin
Installing the plugin is a super easy process and doesn’t take more than a minute.
First, log in to your WordPress site’s dashboard.
Now, navigate to Plugins -> Add New:
Now, use the search box to search For “Yoast SEO”:
Click the install button on the first result to start the installation process:
Once the plugin is installed, click the Activate button to activate the plugin:
You just installed Yoast SEO plugin on your WordPress site.
Now that you have it installed on your site, we can get started setting it up.
In the following sections, I will go over setting up every part of the plugin in detail.
The Yoast SEO dashboard
Once you install the plugin, you will see a new menu item in your WordPress admin sidebar:
To begin the setup process, click the SEO menu item in your Admin Sidebar. It will take you to the Yoast SEO Dashboard:
The Dashboard offers 6 tabs that I will explore in the next section:
On the Dashboard page of Yoast SEO plugin, you will see two boxes:
The first one is for problems. If the plugin detects problems with your site’s SEO, they will show up in this box.
The second box is for notifications. These notifications will help you better configure the plugin.
Basic configuration of Yoast SEO plugin
Before I can dive into the advanced settings of this plugin, we need to configure the basic options.
In this part of the tutorial, I will guide you through all the tabs of the Yoast SEO dashboard.
This tab contains only three options:
- Configuration Wizard: The configuration wizard, covered in the next section, is a simple tool to help you quickly configure the Yoast SEO tool. If you are a beginner and don’t want to get your hands dirty, this is the perfect option. I will talk more about this tool in the next section.
- Text link counter: Yoast SEO needs to count all the public links on your website to offer better suggestions for keyword anchor texts.
- Credits: This button will simply take you to the credits page of the plugin. It contains a list of people behind the plugin.
- Restore Default Settings: As the name suggests, this button will reset the plugin back to its default state. If you ever make a mistake or break something by mistake, this button acts like a reset key.
This tab helps you enable and disable some features of the Yoast SEO plugin. This tab contains six options:
- Readability Analysis: Readability analysis helps you improve the readability of your content. You will want to keep this on. It helps a lot when trying to improve the quality of your content.
- Keyword Analysis: This is one of the coolest features of the Yoast SEO plugin. This feature analyzes your content and helps you better target the keywords you want to rank for. You will want to keep this one on.
- Advanced Settings Page: By default, this option is disabled. If you want full control over the plugin, you need to enable this. Enable this options as we will need to make some advanced configuration changes later in this article.
- OnPage.org: Yoast offers a free integration with OnPage.org to detect if your site is indexable by Search Engines.
- Admin bar menu: Adds a menu to the admin bar with useful shortcuts to Yoast SEO settings and keyword research tools.
- Cornerstone Content: If you want to be able to mark and filter corner stone content (more about that in a later section), you will need to keep this option enabled.
I recommend you to keep all of these options enabled.
This tab allows you to enter some really basic information about your company that will be used throughout the site.
The website name is the name that will show up by default in the Search Results.
In the bottom of this tab, you will see a section called “Company or Person.” The data you enter in this section will be added to the metadata of your site.
Basically, this data will tell Google who is behind the website. Whether it’s a company or a person.
If you choose company, you will be asked to upload a logo. The logo should be at least 200×200 in size.
This tab helps you easily verify your website ownership with Google and other search engine Webmaster Tools.
What are Webmaster Tools?
All major search engines offer free tools for Website Owners to look into the search data for their website. Think of it as Google Analytics but for search.
I will cover how to verify your site using this tab in a later section.
If you have already verified your site with Webmaster Tools you use, you can leave these details blank. Verification is just a one-time process.
This tab only offers one option.
It’s called “Advanced part of the Yoast SEO meta box”.
The Yoast SEO meta box is displayed right below the post/page editor. It helps you optimize the page for search engines.
It also allows you to override the default setting for page indexability for each individual posts.
By default, it only allows administrators to make the posts nofollow or noindex.
But if you enable this option, everyone including the Authors will be displayed the advanced settings.
Using the configuration wizard (Optional)
The configuration wizard is the easiest way to configure the plugin.
When you use the configuration wizard, you are asked a set of simple questions that automatically configure the plugin for you.
While it’s not the best way to configure the plugin as it doesn’t allow you to change all the settings, it is the easiest way.
So, if you are not interested in getting your hands dirty, this is the way out.
To use the Configuration Wizard, Select the SEO menu from the admin sidebar of your WordPress dashboard.
Now, navigate to the General tab and click the “Open the configuration wizard” button:
You will now see the Welcome screen of the configuration wizard.
Click the purple configure button to start the configuration wizard:
Now, select Production as the environment as this is a live site:
Now, in step 3, you will have to select the kind of site.
Select the kind of site that best suits your site.
This will help Yoast SEO better configure the settings for your site type:
In step 4, select whether your website is about a Company or a Person.
If you run a personal site, select Person.
After that, enter your or your company’s name and click the next button:
Now, the social profiles in step 5 are optional, so you can just leave them blank if you don’t want to link your social profiles to your blog:
In step 6, all you have to do is choose the types of posts you want to be visible to Google (not users.) You will want to leave Posts and Pages visible.
Turn visibility for Media post type to Hidden unless you know what you are doing:
Now, in this step, select Yes only if your site has multiple authors. If it’s a personal site, select No as the answer:
Step 8 (Optional)
If you are interested in connecting Yoast SEO to Google Search Console, click the Get Google Authorization Code button:
Once you do that, a popup will open asking you for permission to allow Yoast SEO access to your Search Console data.
Once you allow the permissions, you will see an input box with a code, copy it and paste it in the box below the big purple authorization button and click Authenticate.
Now, all you have to do is enter the name of your website and then select a title separator. The title separator you choose will be used by default:
Step 10 and 11 are optional. Just skip them and then press the Close button on Step 12 to close the configuration wizard:
Webmaster Tools Verification with Google Search Console
When you sign up for Google Search Console, you are asked to verify the ownership of your website. Verifying your website can be a difficult task if you are not a web developer.
But with Yoast SEO, you can do it in just a few seconds.
Here’s how to do it:
When you sign up for Google Search Console and add your first site, you will see the following screen:
Now, select the HTML tag method to see the HTML verification code.
In the HTML code that you will see, the text in quotes after “content=” is your verification code:
The bold part in the below example HTML code is where your code will be:
<meta name=”google-site-verification” content=”YOUR_CODE” />
Copy the verification code. We will need it in the next step.
Now, to complete the verification process, head to the Yoast SEO Dashboard on your website and select the Webmaster Tools tab:
Now, paste your verification code in the input box next to the “Google Search Console:” link and click Save Changes.
Once your code is saved, click verify button on the Google Search Console Verification page:
If you see an error that Google can’t verify the code is on your site, try again in a few seconds. Sometimes, the changes can take a few minutes.
Configuring The Titles and Meta Descriptions
WordPress itself doesn’t offer much functionality when it comes to editing title and meta tags of your pages and posts.
Yoast SEO provides a lot of control over the title and meta of all your website pages.
In this section, I will guide you through configuring the site wide Title and Meta tags settings.
These settings will just act as defaults and you will be able to override them from the post/page editor.
To configure the site wide Title and Meta tag settings, navigate to Yoast SEO > Titles & Meta.
On the Titles & Meta settings configuration page, you will see six different tabs:
In the subsections that follow, I will guide you through all of these tabs.
Site-wide Title Settings
The first tab of the Titles & Meta settings, General, contains only two options:
The first option allows the plugin to rewrite the title tags of your theme. You should only enable this option if Yoast SEO asks you to.
If Yoast SEO detects a problem with your Theme’s title tag, it will ask you to turn this on.
The second option allows you to select the default title separator. The separator you select will be used by default unless you override it in the post/page editor.
Dash, the first option, is what I recommend and use.
Editing the Homepage Title
The second tab of the Titles & Meta settings, Homepage, contains two input boxes:
The first one allows you to select a title template for the homepage. If you don’t know how a title template in Yoast SEO works, I would recommend you to leave it to the default option.
The second one allows you to choose a meta description for your website’s homepage. When people see your website’s home page in search results, they will see this description.
Recommended Settings For Post Types
Now, the third tab of the Titles & Meta settings, Post Types, allows you to configure the default settings for all the post types on your website.
In this tab, you can choose a default title template, meta description template, and other meta settings. Remember, you can always override these settings from the post/page editor.
In this tab, you will see three sections:
All of these posts types have the same five options. Here are our recommended settings:
- Title Template: The title template makes sure you don’t have to start from scratch when writing titles. Unless you know what you are doing, you should leave this to the default setting.
- Meta Description Template: This is the same as the Title Template. Writing a meta description and a title takes time. If most of your posts titles or meta descriptions are similar, you can set up a default template for all your posts. You can leave it blank for now.
- Meta Robots: This is an important option. You can either choose index or noindex as a setting. When you set it to noindex, Search Engines will NOT index this page and will NOT display it in search results. I recommend that you set posts and pages to index, and set media to noindex. WordPress, by default, creates a separate page for all the media (images, videos, etc) you upload to your site. If you set media to index, Google will index all your media pages. So, unless you know what you are doing, set media to noindex.
- Date in Snippet Preview: If your posts display the date they were published, in some cases, Google might display the date of publication below the Title in the search results. Yoast SEO offers a simulation (called Meta Box) of what the snippet for your posts and pages will look like in search results. This option displays the date of publication below the title in the simulation. This option doesn’t really make a big difference. I recommend you to set it to hide.
- Yoast SEO Meta Box: This is one of the most useful features of Yoast SEO. The plugin displays a box called the Yoast SEO Meta Box below post and page editor. This Meta Box displays a simulation of your post’s search engine snippet and offers dozens of options to improve your content and on-page SEO. I recommend you to set it to Show for all post types if you want to enjoy all the benefits of Yoast SEO.
Recommended Settings for Taxonomies
Now, the third tab of the Titles & Meta settings, Taxonomies, allows you to configure the default title and meta settings for Categories, Tags and Post Format:
I recommend that you set Meta Robots option to noindex for Categories and Tags. Because these archives can cause duplicate content on your website.
I also recommend that you disable post-format-based archives:
Yoast SEO will use the Title Template and Meta Description Template on the Category and Tags pages. You can leave the meta description template blank as we are not allowing Search Engines to index these two pages.
Recommended Settings For Archives
The archives tab of the Titles & Meta settings only has four options.
I recommend that you disable Author archives if you only have a single author:
If your blog has multiple authors and you decide to enable author archives, make sure you set the Meta Robots setting to noindex just like you did with Categories and Tags:
This will make sure Google doesn’t index your author pages which might result in duplicate content.
Now, for Date Archives, I recommend that you disable them as they might result in Search Engines seeing those pages as duplicate content:
If for some reason you want to enable date archives, just like Author Archives, make sure you set meta settings to noindex to avoid duplicate content on your site.
I recommend that you leave the last two options, Search Pages and 404 Pages Title Template, to the default setting:
Recommended Settings For Site Wide Meta
Now, in the Site Wide meta settings tab, I recommend that you set Subpages of archives to index because we want Search Engines to index the subpages of the archives we have enabled.
Important: Do not set this to noindex even if you have all the archives including tags and categories disabled. Because when you do this, Yoast SEO will also set the sub pages of your blog’s main archive to noindex.
At the bottom of the page, you will see an option titled “Use meta keywords tags?” I recommend that you disable this option as they are of no use anymore.
Enabling Social Media
Now that I have covered the Title & Meta settings, I will guide you through the Social Media settings. The social Settings page is located under the SEO menu in the admin sidebar.
There are five tabs on the Social settings page:
Social Media profiles in this tab allow Search Engines to know which social profiles are associated with your site.
Fill in all the social media profile URLs of your company. If you run a personal site, link to your personal URLs.
The Facebook tab allows you to set up Open Graph meta data for your site.
Social Networks like Facebook use Open Graph meta data to better understand what your content is about. I recommend you to keep this enabled.
Yoast SEO allows you to choose a default image for pages that don’t have any images. This is the image that will be displayed when someone shares a link.
You can always override this setting from the Post/Page Editor’s Yoast SEO Meta box.
The Facebook Insights and Admins section of this tab is for advanced users and I recommend you to skip it for now.
Twitter displays links as cards when they are shared on the platform. This tab allows you configure the default settings for Twitter card meta data.
I recommend that you keep this enabled.
The second option in this tab is the default card type. If you want Twitter to display a featured image in your link’s card, then choose Summary with a large image.
This tab helps you confirm your site with Pinterest.
To confirm your site with Pinterest, follow this tutorial on Pinterest and then enter the confirmation code in the field in this tab.
If you enter your Google Plus page URL in this tab and then add a link to your site on your Google Plus page, Google will be able to know that these two are connected to each other.
XML Sitemap with Yoast SEO
XML Sitemaps help Search Engine Crawlers better navigate your site. Having an XML sitemap on your site makes sure Search Engines are able to find all your content.
Yoast SEO makes it really easy to generate and manage XML Sitemaps.
To configure the XML Sitemap settings, navigate to SEO > XML Sitemaps.
On the XML Sitemaps setting page, you will see an option to enable/disable Sitemap Functionality. I recommend that you keep this enabled unless you want to use another plugin to generate XML Sitemaps:
This settings page offers four tabs:
The general tab offers you a link to your XML Sitemap and an option to configure the number of entries per sitemap. You can just leave it to the default.
This tab allows you to select which post types you want to include or exclude from your sitemap. I recommend that you include Posts and Pages in your sitemap, and exclude the Media (Attachment pages) from your sitemap.
This tab allows you to exclude specific posts by their post ID. Input all the post IDs you want to exclude in this input box separated by a comma.
This tab allows you to include and exclude taxonomies from your sitemap. I recommend that you include Categories and Tags in your sitemap.
Configuring breadcrumbs, permalinks, and RSS feed settings (Advanced)
Now, we will configure the Advanced Settings of Yoast SEO.
The advanced Settings page is located at SEO > Advanced in your Admin sidebar.
The Advanced Settings page offers the following three tabs:
If you want to display a breadcrumb navigation on top of your articles, you will want to enable this setting.
Once you enable this setting, you will see the following options:
Here are the settings I recommend for breadcrumbs:
- Separator between breadcrumbs: This is the symbol or text that will be used separate the breadcrumbs. Leave it to default.
- Anchor Text For Home: I recommend that you leave this to the default, Home. But if you want, feel free to change it to your blog’s name or anything else.
- Prefix for The Breadcrumb Path: This is the text that will be prefixed before the breadcrumb navigation. I recommend that you leave it blank.
- Prefix for Archive breadcrumbs: You will want to use a prefix for archive page breadcrumbs. I recommend you to leave it the default.
- Prefix for Search Page breadcrumbs: Allows you to add a prefix to the Search Page breadcrumbs.
- Breadcrumb for 404 Page: This is the breadcrumb that will be displayed on your 404 error pages.
- Show Blog Page (Optional): You will see this setting only if you are using a custom home and blog page. I recommend that you enable this setting.
- Bold The Last Page: I recommend that you set this to regular.
Now, at the near end of the page, you will be asked to select a Taxonomy to show in breadcrumbs for Posts. I recommend you to select Category as the taxonomy unless you know what you are doing.
Note: Breadcrumbs are not supported by all themes. You might have to manually add the code that enables breadcrumbs to your theme. Read this article for instructions.
This tab allows you to configure the settings for your site’s permalink structure.
Here are the settings that I recommend for this tab:
- Strip the category base: If you enable this, Yoast SEO will remove the “/category/” part of your Category page URLs. We recommend that you set it to remove.
- Redirect Attachment URL’s to parent post URL: I recommend that you enable this option.
- Stop Words in Slug: If enabled, Yoast SEO will remove stop words like “of” from the URL. I recommend that you enable this.
- Redirect Ugly URLs to clean permalinks: I recommend that you set it to No Redirect.
The options under the RSS tab allow you to put content before and after each post in the feed. This is fairly technical and I don’t recommend you to change these settings unless you really know what you are doing.
Using the Bulk Editor & Other Tools
Yoast SEO offers the following three built-in tools under SEO > Tools in the admin sidebar:
This tool helps you edit the Title and Description of multiple posts and pages at once. Instead of going through all your posts one-by-one, you can use this tool.
The File Editor allows you to make changes to your Robots.txt and .htaccess file. It also allows you to create a Robots.txt file if you don’t already have one.
Import And Export
This tool helps you import and export the settings for Yoast SEO. It also allows you to import settings from other SEO plugins.
Yoast Extras (Go Premium)
While Yoast SEO is available for free, there’s a premium version available that offers, even more, features and premium support.
If you decide to upgrade to Yoast SEO premium these are one of the many extra features you will get:
The redirect manager is a handy tool that helps you create redirections on your website.
There are a lot of cases when you will need to create a redirection. For example, you might need to redirect an old or broken page to a new one.
Multiple Focus Keywords
The free version of Yoast SEO only allows you to choose one Focus Keyword. But with the premium version, you can choose multiple Focus Keywords.
This will allow you to increase the chances of targeting multiple keywords with your content.
Yoast SEO displays a meta box right below the post editor. This meta box displays a simulation of what your page might look like in Search Results.
Just like that simulation of Search Result snippet, Yoast SEO premium allows you to see a simulation of what your posts might look like when shared on Facebook and Twitter.
Optimizing Content and Onpage for SEO with Yoast
The preview box that appears right below the post editor helps you improve the readability of your content and OnPage SEO.
This is one of the best features Yoast SEO has to offer.
It offers simple instructions to help you better optimize your content for readers and search engines.
As you can see in the above screenshot, there are two tabs, the Readability Tab and The Keyword Analysis Tab.
I will explore both of those in the below subsections that follow.
Improving Content Readability with Yoast
The readability analysis tab of the Yoast SEO Meta Box will help you improve the readability of your content.
Every time you make changes to your content, Yoast will reanalyze the post and display readability improvement suggestions. It will also give your article a readability score. The score will be displayed as a light in the Readability tab.
If the light is green, then your article is Good but if it is red, then you need to work on it.
When you try improving readability of your content, don’t try to be a perfectionist. Even if your score is OK (Orange), you have done a great job.
What matters more than a perfect readability score is you actually publishing your content. And if you try to be a perfectionist before publishing a post, you might never come to the last step of actually publishing the post.
Keyword Analysis with Yoast SEO (focus keywords)
The Keyword Analyzer of Yoast SEO is one of its best features.
It helps you improve the chances of your article targeting the right keywords.
To use the Keyword Analyzer, all you have to do is enter a target keyword in the Focus Keyword box of the Keyword Analysis tab:
Once you do that, Yoast will start displaying simple suggestions to help you improve your OnPage SEO:
Now, once again, just like the readability score, don’t try to be a perfectionist. Just make sure your post is OK (Orange) in terms of OnPage SEO.
I hope this article helped you install and setup the Yoast SEO WordPress plugin on your site. This is the exact process I use when I set this plugin up on my sites.
If this article helped you out then please leave a comment and let me know what you think.