How to Install and Setup WordPress SEO Plugin by Yoast

Do you want to properly install and setup Yoast SEO plugin? At WPBeginner we use WordPress SEO plugin by Yoast because it is the most complete SEO solution for WordPress websites. In this article, we will show you how to install and setup Yoast SEO and utilize all the awesome features that come with it.

Features

Yoast SEO is the most comprehensive WordPress SEO plugin with many built-in tools and features. Here is a quick overview of some of those features.

How to Install Yoast SEO Plugin

Upon activation, you will notice a new menu item in WordPress admin bar labeled SEO with Yoast SEO logo on it.

Now that you have installed and activated the plugin, let’s take a look at how to properly setup this powerful plugin.

How to Setup WordPress SEO Plugin by Yoast

You should remember, that the settings that we select are the ones that we recommend. Other experts may have their own preferences and discretion, so advanced users can ignore anything that they do not like.

If you are a beginner, and you want to use Yoast’s WordPress SEO plugin like we do, then please follow along the steps carefully.

Step 1. Data Transfer

Most of you probably have another WordPress plugin like All in One SEO pack, or a theme framework like Genesis dealing with your SEO data.

If you want to successfully use this plugin, then you need to make sure that all of your previous data has been transported to this plugin before you deactivate the other one.

Step 2. General Settings

Clicking on the SEO icon takes you to settings page for the plugin. Click on ‘General’ tab and you will notice a button to open configuration wizard. We want you to ignore this wizard, because we will be taking you step by step through each option.

Step 3. Features

Let’s switch to the ‘Features’ tab and enable the advanced settings page.

Don’t forget to click on the save changes button to store your settings.

You will notice new items appear under the SEO option in your WordPress menu.

These items include Titles and Meta, XML Sitemaps, Social, Advanced, and tools. We will be showing you how to setup each one later in this article.

Step 4. Your Info

Next, you need to switch to the ‘Your Info’ tab. This is where you will provide information about your site and the person or company behind it.

First you need to provide a site name and an alternate name for search engines to consider. Your site’s name could be your site’s title.

If you do not enter anything here, then Yoast SEO will automatically use your site’s title as your website name. Search engines like Google can display this information in search results like this:

The next option is to choose whether this website is run by a company or an individual person. If you choose company, then you will be asked to provide a company name, and you can also upload a company logo.

On the other hand, if you choose a person, then you can add the name of the person behind the website.

Step 5. Webmaster Tools

If you know a little bit about SEO, then you have probably heard that each of the popular search engines, Google, Bing, Yandex, and Alexa allow site owners to add their sites using webmaster tools area (see our guide on how to add your WordPress site to Google webmaster tools).

Webmaster tools let you see insights and other relevant data about your site from specific search engines.

In order to verify your site and see those exclusive data, you have to add a meta tag to your site, or upload a file. Most beginners are afraid to add meta tags, so Yoast put this option in to ease the process. Simply add the meta code that you received from the search engines in the respective fields.

Step 6. Security

The last tab in general settings is labeled Security. This has only one option which disables advanced part of the WordPress SEO meta box. We recommend that you leave it disabled. Disabling advanced metabox will prevent your authors from making advanced changes like noindex and canonical settings (which is good).

Step 7. Titles & Metas

Titles & Metas section under Yoast SEO has several tabs in it. We will cover each one of them.

1. General

Here you can choose the symbol you want to use a separator between titles. Default option is dash, you can use it if you are unsure which symbol to choose.

On this page, you can also disable readability and keyword analysis tab which appear under the Yoast SEO metabox when you are writing post. We recommend that you leave them enabled.

2. Homepage Title

Next, we will work on defining the title for our homepage. By default you will see these fields pre-filled with title-template. So what is the difference between a title and a title template, you may ask.

In instances like your homepage, you may want to create a static title, description, and keywords. But for posts, the title will vary from one post to another.

Title templates allow you to define a way that the title and other meta information is pulled and organized.

Let’s take a look at the image below for the home page settings. By default the template variables in the title field work fine for most website however you’re welcome to change it. The next option is to enter your site’s description. Once you are done, click on save settings button.

Note: If you are using a static homepage, then you will see links to edit your homepage and blog page to add title and meta descriptions.

Yoast SEO allows you to set titles and meta for posts, pages, media, and other custom post types. This site-wide title and meta description will be used if you forgot to add title and meta description for individual post.

We recommend leaving the description fields blank for all post types here. We also recommend using only the post title as the title template.

Remember Yoast SEO plugin also adds an SEO meta box in your post edit area. For maximum SEO benefits, we highly recommend you to manually enter title and descriptions for each post, page, and custom post type on your site. Otherwise Yoast SEO will use the title as defined here and will automatically add description for your posts and pages.

On the taxonomies tab, you can configure titles and meta for categories, tags, custom taxonomies, and post format archives.

Default template variables should work for most sites. As for descriptions, please remember that Yoast SEO picks up descriptions from your categories and tags.

If you do not have any description for terms in your categories, tags, or custom taxonomies, then WordPress SEO does not add meta description in archives for these terms. Check out our guide on categories vs. tags.

5. Archives

On the Archives tab, you have title and meta settings for author and date archive pages, and special pages such as search and 404 pages.

We recommended that you check disable author archives for single author blogs. If you are running a single author blog, then your main blog and the author archives contain exactly the same content. The setting is there to prevent duplicate content.

Leave other settings as they are and save changes.

6. Other

The other tab has some additional settings. Like you can disable picking up descriptions from Dmoz or Yahoo directories for your pages. If you are unsure what to do here, just leave all of them unchecked

Step 8. Social

As we said earlier, Yoast SEO is a powerhouse packed with many features to provide comprehensive optimization.

One great feature of the plugin is that it integrates your site with Facebook, Twitter, and Google+ social platforms.

Clicking on the Social link under the SEO menu will take you to setup these platforms. We will show you how to configure each of them.

1. Accounts

The first tab under the social settings is for all your social accounts. This allows Yoast SEO to tell Google about your social profiles. You need to simply add the URLs and Twitter username for the main social profiles of your site.

2. Facebook

On the Facebook tab, first make sure that open graph meta data option is enabled. Checking this allows WordPress SEO to add Facebook open graph meta data in your website’s <head> section.

This will help Facebook pick up the right thumbnail and page information when a post from your website is shared on Facebook.

The next option is to provide a thumbnail for your homepage with SEO title and description. This image and description will be used when someone shares the homepage of your site on Facebook.

After that you can provide a default thumbnail image URL. This image will be used for all articles that do not have a thumbnail or any other image in it.

The next option is to associate your website with a Facebook profile. This profile can be a user profile as well as a Facebook app. In most cases, Facebook profile is the way to go.

You can add a Facebook admin which will give you access to Facebook Insights for your site.

3. Twitter

As for Twitter, you can add Twitter cards into your site’s head section.

You can also choose the card type to use. We recommend using summary with large image.

4. Pinterest

Pinterest uses Open Graph meta data just like Facebook. Make sure that you have open graph meta data box checked under Facebook settings.

After that you just need to enter the site verification code provided by Pinterest. Simply visit your Pinterest account settings to add and verify your site. You will be provided with a meta tag that you need to enter here.

5. Google+

If you have created a Google+ page for your business enter its URL here, and then go to your Google+ business page and enter your website’s URL in about section.

Step 9. XML Sitemaps

Sitemaps are essential for your WordPress site. It is the quickest and easiest way to get indexed and notify search engines about your content. Sitemaps also allow you to tell search engines how to prioritize your content.

WordPress SEO by Yoast makes it super easy to add XML sitemaps in WordPress. The XML Sitemaps settings is divided into different tabs. We will walk you through them.

First you need to make sure that XML Sitemaps are enabled.

After that you need to click on the ‘User Sitemap’ tab and make sure that author/user sitemap options is disabled.

Move on to post type tab and disable any post type that you don’t want to be included into sitemaps.

By default, Yoast SEO disables Media Attachments from sitemaps.

Repeat the same process for taxonomies. If there is a taxonomy that you don’t want to be included into sitemaps, then you can exclude it here.

The excluded posts tab allows you to remove individual posts,pages, or custom post types from XML sitemap. Simply enter the post IDs in the field and save changes.

Step 10. Advanced

Breadcrumbs are great for internal linking because it defines a clean path or trail to the page you are on. These breadcrumbs also appear in search results giving your site extra advantage in the search.

Make sure that you click on ‘Enabled’, this will reveal more breadcrumb settings.

The default settings should work for most websites, but if you want to change something then go ahead. Once you are done click on the save changes button.

2. Permalinks

Just to be clear, we are talking about the Permalink settings in Yoast SEO tab, not in the setting tabs.

WordPress by default adds a category base in each category url i.e /category/.

By clicking ‘Remove’ you can strip that part from your category URLs. This is something that a lot of people want. But you can leave it unchecked if you do not want your category urls and page urls to conflict if they are the same name.

Next option is to redirect attachment URLs to parent post. WordPress allows you to attach images and other media to posts. But all of those attachments get their own URLs which in most cases are unnecessary. Therefore by checking this box, you redirect all your attachment page URL to the original post URL.

The next option is to remove stop words from permalinks. Stop words are common words used in plain language. Yoast believes that by removing these, you will create cleaner URLs. While it does make the URLs smaller, we disagree with Yoast. This is why we have left it unchecked.

The next option on the permalinks page is to remove ?replytocom variable from comment reply links. It disables the links for the users with javascript disabled.

Most web crawlers when they visit your site have javascript disabled, so they do not see the URL and can quickly move on. This increases the crawl efficiency particularly if you are running a site with lots of comments.

Redirect ugly URLs to clean permalinks option is not needed in most cases. We advise you to ignore it unless you know what you’re doing.

3. RSS

RSS Feeds are often used by content scrapers to copy content from your website. Yoast SEO allows you to add a backlink to your own site for each post in your RSS feed.

This way, you will get backlinks from their site, and Google will know that you are the original source.

There are options to add your author link, Post link, blog link, and blog description. So get creative. This can also be used to add advertisement to your RSS feed.

Step 11. Tools

As you can see that we have spent a good amount of time getting these settings just right, so you probably want to export the settings as Backup (just incase if you accidentally mess things up in the future). You can also export settings to use it as an initial guideline for all of your future sites that you are going to use this plugin on.

The bulk editor allows you to edit post titles and descriptions in bulk. We do not recommend using it. Duplicate descriptions and titles can cause damage to your SEO.

The other tool is file editor, we strongly urge beginners and even intermediate level users to stay away from these settings. Tiny mistake there can make your site inaccessible for search engines or make it useless.

Simply click on get Google Authorization Code and you will be redirected to Search Console website where you will get a code. Copy this code and enter it in the plugin settings to complete the verification.

After the verification, you will be asked to select a profile. You will need to select your website from a dropdown menu.

Yoast SEO will now fetch your Search Console data into WordPress. You will be able to see Desktop, Mobile, Feature Phone tabs on screen.

This is where you can see crawl errors related to your website and mark them as fixed after setting up redirects (we will discuss redirects later in this article).

Yoast SEO Premium

The basic Yoast SEO plugin is free and works really well for millions of WordPress sites around the world. However, it comes with an even more powerful Premium version.

Step 13: Redirects

Yoast SEO Premium adds a powerful redirect manager. This allows you to quickly set up redirects on your WordPress site. You can quickly fix 404 errors in your Google search console by setting up redirects and marking them as fixed in Search Console.

Step 14: Customizing and Maximizing the Benefit

Just installing and setting up this plugin is not enough. In order for you to really maximize the benefit of this plugin, you need to customize the settings on per post basis.

Now this would not be a chore if you do it every time you write a post. Let’s take a look at how you can maximize the benefits by customizing.

WordPress SEO for Individual Posts and Pages

When editing any post or page in WordPress you will now see a metabox below the post editor labeled Yoast SEO. This box comes with tons of SEO options allowing you to improve that post and page.

You can click on the title in the snippet preview to edit it. You can also click on the edit snippet button to add title and meta description for the post or page you are editing,

You should write a custom title, and meta description rather than letting it auto-generate.

Sometimes your post title, and your SEO title might not be the same. Every time, you should write a custom Meta Description because the excerpt generator only picks up the first paragraph which might not be the most important one.

Is there any problem, If I set google analytic or webmaster tool with two email address? Because My boss has set google webmaster with his email address, but now I install Yoast SEO tool and I want to set an analytic. Is there any problem, If I do that ?

Hello, I’ve used the plugin and now just created and added site map to my webmaster tools on google. It created 4 site maps where 3 out of them giving errors
Missing XML tag
This required tag is missing. Please add it and resubmit.

Very helpful article. I have one question. I am trying to verify my site through the XML sitemap section but when I click on the sitemap button I get a Error 404 – page not found. This appears on the home page of the web site.

Hi,
Thanks for the helpful article. I’ve one question though. On my main website so far I have been using the All In One SEO Pack and I’m thinking of changing it with the Yoast plugin. I used to run meta keywords for the All In One SEO Pack and the Yoast plugin recommends using focus keyword. I wonder what changes I should make now after the transport. When I check out my old articles, I see none of them has keywords now with the new plugin. I have more than 2500 posts published and I wonder what solution could there be (I just an’t imagine going back and changing the keywords for each post).

Thanks a lot for the reply.
I have one more question please. What do you recommend, shall I go back to the old posts and add focus keywords for them too, or there is no point? The matter is that my old posts show only meta keywords now and they have no focus keywords set.

Hi great article, could you confirm i am doing correctly, when i search on google for my site the snippet preview is wrong, when i go into my sites homepage( via wordpress) click home page the snippet preview is correct, so when i type in a search for my site /home it displays correctly.

Phil, Yes seems like you are doing it correct. Google generates snippets dynamically depending on the user query and positioning of keywords in your articles. So the snippet shown in actual search results on Google could be way different than what you see snippet preview tools.

Wow man, great article. I was using All in One SEO for long time and this time I decided to use Yoast plugin. In order to understand it i searched and found your article. Detailed explanation i must say. Kudos to you. and Thanks for explaining it so wisely.

I have problem with my website ( http://www.enstructive.com ) meta description. I have recently added meta description in WordPress SEO plugin. But i have checked my website through some meta tag analyzer, they says that your website is missing meta description. Kindly suggest me whats the problem. Or should i add meta description manually?
Advance thanks and appreciation for help.

Yes it is supposed to display posts written by that particular author. Here are some tips on troubleshooting this issue.

1. If you have WordPress SEO plugin installed and activated go to Seo » Titles & Metas and click on the Others tab. Uncheck the box ‘Disable Author Archives’ if it is checked. Check your site to see if every thing is working fine?

Hey guys love this and all the other wonderful posts. I have a question though.
I read that the no-index subpages and the force rewrite under titles & metas should be checked and you guys say no. I’m just wondering why the difference and how do I figure out which to do? I’m doing an informal site on weight loss if this helps
Please keep posting all the wonderful informative post. You guys rock!!!

Dhruv WordPress SEO plugin does not guarantee to land your site in the top results. Search engines have their own algorithms to determine which pages they will display in their top results. If you have unique content that offers value to the users and if you build authority by regularly creating great content and spread it around social media. Then you will start noticing improvement in your site’s position in search results. This might take some time, but you will get there.

Thank you very much for the useful information, but I don`t understand when editing under Focus Keyword:(Led Light Bulbs) I get red for the URL even though the keyword is in the URL. How do I correct this please?

Did u face any problem regarding focus keyword??. whenever i tried to put focused keywords,its shows some result and circle is moving round.any it shows that focused keyword not found in meta,content and page Url,even it was ..i mean that that circle never stooped.Is it prob because of my other plugin ?focused keyword not found ..please replay

I am using the genesis child theme and i dont find that where i have to use the breadcrump by yoast. I am using the genesis breadcrump now. But i want to use the yoast for this. How i can use it over my blog. You can check it here and plz let me know. When i open the editor for page and post i see only a function genesis().

I have just noticed that on the advanced tab in the Yoast plug in it now asks for a Breadcrumb title.

Do I need to complete this? Or will the system automatically use the default settings I used when going through your guide?

Also, as a jobsite http://www.jobsinfoodmanufacturing.co.uk posts / jobs expire on a daily basis, should I go in to the advanced tab and enter our home page url into the 301 redirect field? The posts that have expired are sent to the trash on a very regular basis so I am not sure if the 301 redirect field is required – we are currently setting up a 404 Error message page that will again direct individuals to the Home Page.

If breadcrumbs are working fine on your site then you don’t need to update those settings. A 404 error page will result as an error in your Google site crawl. A regular number of pages appearing as 404 could affect your site’s SEO in the long run.

Also due to the nature of the site (it is a jobsite). Is a 301 redirect preferable to a 404 message (in terms of a google crawl and SEO) and if so would I need to not delete expired vacancies? Although would this not lead to the site content being too large?

Why 301 or 404 are your only considerations? Why not just let users land on expired vacancies showing them a notice that this job is expired? You can also choose to display similar jobs on the page which users can then look at?

I think I need to clear out the expired jobs on a regular basis, otherwise site content will be too great? Therefore it is not always possible to land on the expired vacancies.

However, when searched for expired vacancies should show a page that details that the vacancy has expired and give the individual a link to our Homepage – this should be available in the next few days.

If you do not have title, meta description for your old posts, we would recommend going back to your posts and edit them. However, if your site is already doing well on search results then you may decide to skip this step.

Thanks for your post on proper Yoast plugin settings. An update was needed, as most posts on this topic are pretty old, and many updates have happened in the interim. I have some questions about some difficulties people experience with Yoast.

Jeff, the ability to choose or write your own solutions is what makes open source software so wonderful in the first place. We are using WordPress SEO on our websites without any issues for years now. Her is why we think that WordPress themes should not have SEO options.

Even though they are not recognized and not recommended, but there is no harm in adding meta keywords. Apart from Google, there are other search engines and web crawlers that could benefit meta keywords.

I am agree with ‘WPBeginner Support’ reply and want to remind you, ‘Mr.Matt cutts said Google will not udpate Page Rank and End of year – Google updated.’ No-one know, what will happen in future thus, follow -> WPBeginner Support.
Really very useful. Thank you man!

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Notify me of followup comments via e-mail. You can also subscribe without commenting.

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).