Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Install and Setup Yoast SEO Plugin in WordPress

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Are you wondering how to install and set up the Yoast SEO plugin properly in WordPress?

Yoast SEO is a popular WordPress SEO plugin that offers a good set of features to optimize your website for search engines like Google.

However, many beginners are unfamiliar with the SEO lingo and find it difficult to decide which plugin options they should turn on.

In this guide, we will walk you through the complete Yoast SEO plugin setup in WordPress to give your website an SEO boost.

Properly setting up the Yoast SEO for WordPress plugin

Note: We have switched from Yoast SEO to All in One SEO for the WPBeginner website because it has far more powerful features. AIOSEO is used by over 3 million websites, and you can follow our guide on how to install and set up AIOSEO for more details.

Here are the things we will cover in this article:

Yoast SEO Features

Yoast SEO is one of the most popular WordPress SEO plugins, with many built-in tools and features. Here is a quick overview of some of those features:

  • Change the post’s SEO title and meta description on a per-post basis.
  • Title and meta description support for taxonomies (e.g., categories and tags).
  • Google search result snippet previews.
  • Focus keyword testing.
  • Meta robots configuration:
    • Easily add noodp and noydir meta tags.
    • Easily noindex or nofollow pages, taxonomies, or archives.
  • RSS footer/header configuration.
  • Breadcrumbs support, with configurable breadcrumbs titles.
  • Advanced XML sitemaps.
  • .htaccess and robots.txt editor.
  • Ability to verify Google Search Console, Yahoo Site Explorer, and Bing Webmaster Tools.
  • Schema markup support.

Plus, the premium version of Yoast SEO comes with even more features:

  • A redirect manager that allows you to set up redirects easily.
  • Ability to use multiple focus keywords.
  • Internal linking suggestions.
  • Ability to export focus keywords.
  • Video tutorials explaining different features.
  • Priority support.

For the pros and cons of the plugin and detailed analysis, you may want to see our comparison of Yoast SEO vs. All in One SEO.

How to Install Yoast SEO Plugin

The first thing you need to do is install and activate the Yoast SEO plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you’ll notice a new menu item labeled Yoast SEO.

Yoast SEO first time configuration wizard

Upon clicking on it, you’ll be prompted to run the ‘First-time configuration’ wizard.

Simply click on the link to run the first-time configuration wizard.

How to Set Up the WordPress SEO Plugin by Yoast

Yoast SEO comes with a basic setup wizard that will guide you through the initial setup.

If you are setting it up on a new WordPress website, then you can skip Step 1 and directly run Step 2 in the first-time configuration wizard.

However, if you are setting up Yoast SEO on an existing website where you have previously used some other WordPress SEO plugin, then you need to import your existing SEO data first.

Let’s get started.

Step 1: Import your SEO Data

If you are setting up Yoast SEO on a new WordPress website or blog, then you can skip this step.

Other users who are installing the plugin on an existing website may have been using some other WordPress plugin for SEO, like All in One SEO for WordPress, RankMath, or a theme framework like Genesis for dealing with your SEO data.

If you want to use Yoast SEO properly, then you need to make sure that all of your previous SEO data has been transported across before you deactivate the other plugin.

Luckily, Yoast SEO comes with a built-in SEO data import/export functionality.

Head over to the Yoast SEO » Tools page and click on the ‘Import and Export’ link.

Yoast SEO tools

This will bring you to the import/export tool.

From here, you need to switch to the ‘Import from other SEO plugins’ tab.

Import from other SEO plugins

First, you will be advised to create a full database backup. We recommend using the Duplicator plugin, which is the quickest way to make a full database backup.

Note: There is also a free version of Duplicator, which will get the job done. But for automatic backups, secure cloud storage, and other features, we recommend upgrading to a paid plan.

Under ‘Step 2: Import’, choose the SEO plugin you used before from the dropdown menu.

After that, just click on the ‘Import’ button to fetch SEO data.

Next, you can edit a blog post or page and scroll down to the Yoast SEO section. There, you can see if the plugin correctly imported SEO data such as the SEO title and meta description.

SEO meta data imported

If everything looks good, then you can switch back to the ‘Import’ tab.

Step 4 will ask you to run the first-time configuration wizard now. We will show you how to do this in the next step of this tutorial.

After that, switch back again to the ‘Import’ tab.

You need to select your previous SEO plugin under ‘Step 5: Clean up’ and then click on the ‘Clean up’ button.

Clean up old SEO data

This will clean up the database and delete the old plugin’s data. After that, you can safely deactivate and delete your old SEO plugin.

Step 2: Run the First-Time Configuration Wizard

Yoast SEO comes with a first-time configuration wizard. To run it, go to the Yoast SEO » General page and switch to the ‘First-time configuration’ tab.

Launching the configuration wizard will allow you to set up some basic SEO settings for your website.

The first step in the wizard is ‘SEO Data Optimization.’ Go ahead and click the ‘Start SEO data optimization’ button to run the analysis.

Yoast SEO configuration

Don’t worry because the optimization process will not change any content on your website.

Once the data optimization process is finished, simply click the ‘Continue’ button to proceed.

Next, you will be asked to provide information about your website. This includes whether it is an organization or a person, your website name, organization name, and organization logo.

Site presentation- Yoast SEO configuration wizard

After entering this information, you need to click on the ‘Save and continue’ button.

This will bring you to the next step.

Here, you need to enter social profiles associated with the organization or business behind the website.

Social profiles - Yoast SEO configuration wizard

After entering your social profiles, click on the ‘Save and continue’ button.

Next, you will be asked to enter your email address to receive the weekly Yoast SEO newsletter.

Personal preferences

You will also be asked to opt in or out of usage data tracking.

You can select ‘No’ if you are not comfortable with sharing your usage data with the company behind Yoast SEO.

Now, click on the ‘Save and continue’ button.

That’s all. You have successfully run the setup wizard.

Configuration wizard finished

Next, we will walk you through the rest of the plugin settings. This will help you set up the plugin properly for optimal SEO benefits.

Step 3: Yoast SEO Settings – Site Basics

First, you need to set up basic SEO appearance settings. Go to the Yoast SEO » Settings page and switch to the ‘Site Basics’ tab.

Here, you can change your site title, add an alternate title (optional), provide a tagline, and choose a title separator.

Yoast SEO basic site settings

The title separator appears in the browser’s title bar. You can choose any of them, but the dash symbol is the most commonly used.

Below, you can provide a site image. The recommended size for this image is 1200 x 674 pixels.

This image will be used when your website is shared on the internet (not the individual articles, as they can have their own social sharing images).

Add a site image

Under ‘Site preferences’, make sure that the option next to ‘Restrict advanced settings for authors’ is turned on.

This ensures that authors cannot set up redirects or block search engines when working on an article (Editors and site administrators can still access those options).

Don’t forget to save your changes when you have finished making changes.

Step 4: Site Connections

The next step is to add your website to search engines. All top search engines allow users to submit their websites and track their search indexing and performance.

For more details, see our complete Google Search Console guide to learn more about these tools.

Yoast SEO makes it easy to verify your website with all top search engines.

First, you need to sign up for the Webmaster Tools program for each search engine. After that, you will be asked to add a meta tag to verify your website ownership.

Now, go to the Yoast SEO » Settings page and open the General » Site Connections tab.

Site connections

Simply add the meta code you received from the different search engines in the respective fields, and don’t forget to save your changes.

Step 5: Content Types

Next, you need to switch to the ‘Content Types’ tab in the Yoast SEO settings.

From here, you can set the default options for how different content types will appear in search results.

1. Homepage

First, you need to enter an SEO title and description for your home page.

Content types in Yoast SEO

If you are using a custom homepage in WordPress, then Yoast SEO will use the SEO title and description from the custom homepage.

Below that, you can provide a social media image. Optionally, you can also provide a separate description and title for social sharing.

Homepage search appearance settings

2. Posts

Next, switch to the ‘Posts’ tab under Content Types.

From here, make sure that the toggle next to the ‘Show posts in search results’ option is turned on.

posts search appearance in Yoast SEO

Below that, you can use variables to set a default format for SEO titles in your posts. This comes in handy if you have older posts without an SEO title or forget to manually write an SEO title for a post.

In the Meta description field, add %excerpt as the default variable.

3. Pages

After that, switch to the ‘Pages’ tab and ensure that the toggle next to the ‘Show pages in search results’ option is turned on.

Page search appearance

Below, you can use the ‘Insert variable’ button to set up a default SEO title scheme for your pages.

In the meta description field, you will need to use %excerpt to select Excerpt as the default meta description.

Step 6: Categories & Tags

Next, you need to configure the default search appearance option for categories and tags.

Switch to the ‘Categories’ tab and then make sure the option ‘Show categories in search results’ is turned on.

Below that, you need to provide a default meta title for your categories using the variables.

Categories search appearance

For the meta description, you can use %category description as the default meta description for categories.

Next, switch to the ‘Tags’ tab and repeat the same steps.

Tags search appearance

For the meta description, you should use %tag description as the default meta description for categories.

Step 7: Advanced Settings

This part of the Yoast SEO settings offers advanced, technical SEO features.

They allow you to further optimize your website by cleaning up unwanted options and making it easier for search engines to crawl more of your content.

1. Crawl Optimization

As a website owner, you want Google to crawl more of your pages. However, WordPress generates several pages and RSS feeds that are not important for your website but consume a lot of the crawl budget.

Crawl optimization allows you to fix that. For more details on this topic, see our guide on fixing the SEO crawl budget issue in WordPress.

The first option is to ‘Remove unwanted metadata’. This is data WordPress adds to each page on your site and some of it is crawled by search engines.

Remove unwanted meta data

The plugin provides a description next to each option. You can turn the toggle on to remove each item.

After that, scroll down to the ‘Disable unwanted content formats’ section. From here, you can disable unwanted RSS feeds generated by WordPress.

Disable unwanted content formats

Lastly, you can disable unused resources like the emoji script, which is only used for very old browsers.

You can also disallow end points to the WP-JSON API.

Disallow unused resources

2. Breadcrumbs

Breadcrumbs are great for internal linking because they define a clear path or trail to the page you are on. These breadcrumbs also appear in search results, giving your site an extra advantage.

Example of breadcrumbs used in search results

The default settings for Yoast SEO are highly optimized and should work for most websites.

However, if you want to change something, then go ahead and make your changes.

breadcrumbs Yoast SEO

After that, scroll down to the ‘How to insert breadcrumbs in your theme’ section.

Here, you can turn on the toggle next to the ‘Enable breadcrumbs for your theme’ option.

Enable breadcrumbs

Tip: For better breadcrumb navigation, you may want to look at All in One SEO for WordPress. You will get full control of how your breadcrumbs are displayed and you can create custom breadcrumb templates for your specific needs.

Take a look at our tutorial on how to display breadcrumb navigation links in WordPress.

3. Author Archives

The next option in the Advanced settings is ‘Author archives’.

If you run a single-author blog, then you need to disable the author archives. This is important because your blog archives and the author archives will have exactly the same content.

So, search engines may penalize your website for duplicate or low-quality content if you don’t disable these archives.

Disable author archives

4. Date Archives

WordPress also creates archives based on dates. This creates more duplicate content issues.

Under Date Archives, you can turn off the switch next to the ‘Enable date archives’ option. This will disable those archives, improve the crawl budget, and avoid duplicate content.

Disable date archives

5. Format Archives

Post formats are WordPress theme features that allow developers to add support for different formats. These can then be used by a post type for styling and appearance purposes.

However, this feature didn’t catch on, and many modern WordPress themes don’t add post format support.

These post formats have separate URLs in WordPress, which can be crawled by search engines.

You can safely disable those URLs by going to the Advanced » Format Archives tab.

Disable format archives

6. Special Pages

This is where you can provide an SEO title for the internal pages like the WordPress search result page or the 404 error page.

SEO title for WordPress search and 404 error page

7. Media Pages

WordPress creates an attachment page when you upload an image or media file to a post or page.

This page only displays that particular image or media file with little to no information. This wastes your crawl budget, adds low-content pages to your site, and impacts SEO negatively.

In the Advanced » Media Pages tab, you need to disable these pages.

Disable media pages

When you disable media pages, Yoast SEO automatically redirects users to the media file instead of the attachment page.

8. RSS

Yoast SEO allows you to add content to RSS feed items. By default, it adds a link back at the end of each RSS feed item to your website.

You can leave it as is, or you can add anything you want here, and it will appear in your RSS feed.

RSS before and after content

Bonus: See more tips to optimize your WordPress RSS feed.

Step 8: Tools

Yoast SEO comes with built-in tools that allow you to perform advanced tasks. Most beginners may not need to use these tools. However, we will show you each tool and what it does.

First, you need to go to the Yoast SEO » Tools page to see the available tools.

Yoast SEO tools

1. Import and Export

We have shown you how to use this tool to import SEO data from other SEO plugins in step 1 of this guide.

However, this tool can be used in other ways too. For instance, you can also use it to import and export the Yoast SEO plugin’s settings and use them on a different WordPress blog or website.

Import and export Yoast SEO settings

2. File editor

As your WordPress site grows, you may often come across tutorials asking you to add some code to your website’s .htaccess file or robots.txt file.

Both are configuration files and have a huge impact on your website’s SEO. Yoast SEO allows you to edit both files directly from the WordPress admin area.

Yoast SEO file editor tool

3. Bulk editor

The bulk editor tool in Yoast SEO allows you to quickly add SEO titles and descriptions for all your blog posts and pages.

In the ‘Title’ tab, you will find a blank field in the ‘New Yoast SEO Title’ column where you can add your new SEO title for that blog post. After that, click on the ‘Save’ link to store your changes.

Bulk edit SEO titles

To add descriptions, you will need to switch to the ‘Description’ tab.

Once again, you can add a description for each blog post or page and save it.

Bulk edit SEO description

Step 9: Integrations

Yoast SEO has partnered up with a couple of premium SEO platforms to provide more features. It includes two free integrations: Semrush and Wincher.

These integrations are turned on by default on the Yoast SEO » Integrations page.

Yoast SEO integrations

Note: You will need to create free accounts for both services to use them and you will only get limited features with a free account.

Below that, you will find integrations with other premium WordPress plugins.

Paid integrations

For instance, if you are using Easy Digital Downloads, then you can unlock that integration by upgrading to Yoast SEO Premium.

Step 10: Optimizing Your Posts and Pages With Yoast SEO

Just installing and setting up this plugin is not enough. For you to maximize the benefit of Yoast SEO, you will need to customize the settings on per per-post basis.

Let’s look at maximizing the benefits by optimizing each post/page in WordPress.

Simply edit any post or page, and you will notice a new Yoast SEO meta box below the post editor.

Yoast SEO metabox

You can start by adding a ‘Focus keyphrase’ or keyword. This is the main keyword that you think your users will type into search engines to find this post.

After that, Yoast SEO will check your post content for SEO and a readability analysis. You can view the analysis to improve your article further.

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

Pro Tip: The SEO and readability analysis report in Yoast SEO is quite helpful for improving your content. However, don’t stress yourself out over it, or you might spend more time following the analysis instead of creating better content for your users.

To learn more about on-page optimization, see our article on how to optimize blog posts for SEO.

Step 11: Optimizing Taxonomies for SEO (Categories and Tags)

Just like your post and pages, you can also override the SEO title and meta descriptions for category, tag, and author archive pages.

Simply visit the Posts » Categories page and click the ‘Edit’ link below any category.

Edit category SEO details

On the category edit page, scroll down to the bottom, and you will see the Yoast SEO meta box.

From here, you can provide an SEO title and meta description for your category.

Optimizing a category in Yoast SEO

You can do that for all your categories, tags, and custom taxonomy archives.

Step 12: Optimizing eCommerce Products

Yoast SEO provides basic support for online stores and eCommerce websites using WooCommerce.

This allows you to optimize your product pages just like blog posts and pages.

You will find all eCommerce SEO options when adding a new product to your website. You can also edit an old product and optimize it by entering a focus keyword, SEO title, SEO description, and more.

Yoast eCommerce

If you are using WooCommerce, then you will need to purchase the Yoast WooCommerce SEO add-on for extended eCommerce features.

Alternative: All in One SEO for WordPress has full eCommerce support even with the basic plan, which starts at $49.

Step 13: Monitoring and Tracking SEO Performance

Now that you have successfully set up Yoast SEO, it is important to start tracking your performance.

First, you need to add your WordPress site to Google Search Console.

Google search console

This shows you how your website is doing in search, which keywords you are ranking for, and which pages are not doing so well.

Next, you need to install Google Analytics in WordPress so that you can see your website data from your WordPress dashboard.

The easiest way to do this is by using MonsterInsights. It connects your WordPress site to Google Analytics and shows you how much traffic you are getting, as well as what your users do when they are on your website.

Most importantly, it shows Google Analytics reports inside WordPress and in a human-readable format.

MonsterInsights reporting dashboard

This helps you understand your target audience and make smart decisions to grow your business and improve SEO.

Conclusion

Yoast SEO is a great WordPress SEO plugin. However, it lacks certain features which could truly help you take your SEO to the next level.

That’s why we recommend using All in One SEO for WordPress instead (We use it on all our websites, including WPBeginner). It comes packed with features, including a link assistant, SEO statistics, advanced XML sitemaps, and more.

For more details, take a look at our detailed All in One SEO review with pros and cons.

We hope this article helped you set up Yoast SEO properly. You may also want to follow our WordPress speed optimization guide since speed is an important ranking factor in SEO or see our expert picks of the best WordPress themes for SEO experts.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

252 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Ahmed Omar says

    nice post, I was using Yoast for long time, since I started my site.
    after reading the post, I found many points which I was unaware of it and it is importance.
    any how now I am moving to use AIOSEO which considered the best SEO plugin
    Thank you

  3. CAMILLE says

    You don’t know how many of your articles have saved me!!! So thankful. Keep up the good work!

    • Jiří Vaněk says

      I have practical experience on many websites with Yoast Seo and AIO SEO, including speed measurement. Both plugins are absolutely great and have never affected site speed in a negative way.

  4. Gary Phillips says

    Hi – I cannot find the screen at the top of page 7 (Homepage – SEO Title – Meta description) on my Yoast installation when I try to follow along this tutorial. How do I access this screen? Thank you! Gary

    • WPBeginner Support says

      Yoast may have updated their interface for this, we will be sure to take a look and update our article when able.

      Admin

  5. Sammantha says

    Just wanted to say thank you for the help. I couldn’t (and wouldn’t have known how) to set this up on my own. Appreciate the advice – and for free too! xx

  6. Amruta Mohite says

    Thank you so much.
    This one article my all doubts about yoast seo.
    And also i found some important post links.

  7. Srinath says

    This is really useful. I installed and activate Yoast as per your guidelines but XML sitemaps menu is not displaying. What should I do ?

  8. Andie Pas de Deux says

    Any chance of updating this, folks? So much of it no longer applies since the big Yoast update last year.

  9. Kia Roberts says

    My yoast SEO does not have a tab named ‘your info’, nor does it have an option under features for ‘advanced settings’. Why not?

    • WPBeginner Support says

      Yoast has likely updated their interface since our last update of this article.

      Admin

  10. rachana says

    I have been reading a lot of your posts now. I’m actually starting out with a new blog and your articles really helped me a lot to understand the basics. thankx fr sharing this useful information.

  11. Richard Ramirez says

    I came across your post doing a google search. Took the time, followed the instructions (which was very easy). Overall I had a very productive day. I just have to thank you all. This was very helpful.

  12. moscotech says

    while google verification number on the webmaster tools verification number .It keeps give me this “Oops! That page can’t be found.”
    what happened

  13. ADR says

    Hello,
    As already mentioned by the two comments posted before mine, your article refers to an outdated version of Yoast. I was still able to install the plugin and adjust the basic settings as desired, however it turned out to be quite time consuming as I had to look for explanations elsewhere on the net.

    Any chance you could update this tutorial?
    Thanks!

  14. Susanna says

    My dashboard does not show all the seo tags and information as shown in the above instructions…half seem to be missing….so unable to do most of the seo plug in work.

Leave a Reply to Abhishek Verma Cancel reply

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.