Security: no advanced settings for authors

Security: no advanced settings for authors

This feature lets you determine who gets access to the Advanced tab of the Yoast SEO meta box and the Yoast SEO sidebar. In the Advanced tab, you find the settings that allow you to remove posts from the search results or change the canonical. These are powerful settings, and, as such, it is advisable to let only specific users access them. That is why, by default, only editors and administrators can see and use the Advanced tab in Yoast SEO. If you want all users of your WordPress website to be able to operate the Advanced tab in the Yoast SEO meta box and the Yoast SEO sidebar, you can choose to switch this feature 「off」. To do that, go to Yoast SEO in the admin menu, click the General menu item, and then the Features tab. You will find the toggle for this feature at the bottom of the screen.  

The settings in the Advanced tab of the Yoast SEO meta box and the Yoast SEO sidebar

With the Advanced tab in Yoast SEO, you can determine how search engines crawl and index your post or page. There are five settings in the tab: 

The Advanced tab in the Yoast SEO meta box

1. Allow search engines to show this Post in search results? 

This setting determines whether search engine robots can index your post or page. If you set this to 『yes,』 the Google robots will index your post or page. As a consequence, your post or page will be able to appear in search engines.

 2. Should search engines follow links on this Post? 

Some of the links you add to a post or page may lead to parts of your website that you don』t want Google to index. With this setting, you can prevent Google from following such links. 

3. Meta robots advanced 

The advanced meta robots settings allow you to set the meta robots for this page or post to several values. Read more about the meta robots advanced settings here.

4. Breadcrumbs title

With the breadcrumbs title setting, you can change the breadcrumbs title for the Yoast SEO breadcrumbs. To learn more, read the article on how to change the breadcrumb title.

5. Canonical URL 

Some of your URLs may contain the same content. To avoid confusing Google (and the user), you can tell search engines which URL contains the original content. You do this by adding a canonical URL that this post or page should point to.

How to check for plugin conflicts

How to check for plugin conflicts

You have likely arrived at this article because you spotted a conflict on your site. Your WordPress site consists of WordPress core, a theme, and various plugins like Yoast SEO or Yoast SEO Premium. Unfortunately, sometimes these aspects conflict with each other. Therefore, we want you to test if your problem still exists in a controlled environment. This will help you identify the cause of the problem, so you can contact the right team to report the issue. Having the right teams working on the issue is a benefit to you.

We highly recommend using the Health Check plugin method as it allows you to run a conflict check without affecting normal visitors to your site. However, if you cannot install plugins, please use an alternative option.

Step-by-step guides

Using the Health Check plugin (preferred)No plugin needed (alternative)

Common questions & concerns

I can』t do this on a live siteWill I lose my settings?Can I just deactivate Yoast SEO?How do I view the source code of a webpage to check for meta tags?What do I do next?

How to check for conflicts using a plugin

The fastest way to rule out conflicts is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty. If this resolves the issue, you have indeed a conflict. You can then switch back to the theme you are using to check if you can reproduce the issue. If the issue isn』t reproduced when your theme is active, you can enable one plugin at a time to check when the issue reappears. Doing this will narrow down the conflict to a specific plugin or a theme conflict. The steps below will walk you through the process using the Health Check & Troubleshooting plugin. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Make sure you are running the latest versions Make sure you are up to date with the latest versions of your theme, plugins, and WordPress. If there are any open updates ready to be installed, go to 『Dashboard』 then 『Updates』 and install the available updates. Newer versions of plugins and themes can already contain a fix for the issue you are experiencing. After updating, check if the issue persists.Note: before installing (any number) of updates, please keep in mind to create a site backup. Click on 『Plugins』 then 『Add New』. On the left-hand side, you will see a menu. In that menu, click on 『Plugins』. The 『Plugins』 settings will expand providing you additional options. Click on 『Add New』. Type 『Health Check & Troubleshooting』 in the search bar, as shown below. In the plugin box, click the 『Install Now』 button. This will give you a page of search results. The Health Check & Troubleshooting plugin should be visible now. Click the 『Install Now』 button. When the installation is done, click the 『Activate』 button. Click the 『Activate』 button that appeared where the 『Install Now』 button was previously located. Click on 『Tools』 then 『Site Health』. On the left-hand side, you will see a menu. In that menu, click on 『Tools 』. The 『Tools』 menu will expand providing you additional options. Click on 『Site Health』. Note: There are multiple tabs that provide a lot of information about your website and server setup. If you see errors on the 『Status』 or 『Info』 tabs, please resolve the issues before continuing. Click on the 『Troubleshooting』 tab, read the warning information, and click 『Enter Troubleshooting Mode』. Troubleshooting mode automatically disables all plugins and switches to a default theme. Troubleshooting mode is only active for you and does not affect normal visitors on your site. Reproduce the issue you were experiencing in the default environment with no active plugins and a default theme. The first thing to check is whether or not the issue happens in a default environment with no plugins while using a default theme. This is the default state when you click 『Enter Troubleshooting Mode』.If the issue occurs when Yoast SEO is not active, this means our plugin is not causing the unexpected behavior. Click here for advice.If not, continue to step 10. Click on 『Plugins』 then 『Installed Plugins』. On the left-hand side, you will see a menu. In that menu, click on 『Plugins』. The 『Plugins』 menu will expand providing you additional options. Click on 『Installed Plugins』. Click 『Enable while troubleshooting』 next to Yoast SEO first. Reproduce the issue you were experiencing with just Yoast SEO active and a default theme. If the issue doesn』t occur, then also activate Yoast SEO Premium and try again. The second thing to check is whether or not the issue occurs with only the Yoast SEO plugins active while using a default theme.If the issue occurs when just Yoast SEO is active or when just Yoast SEO and Yoast SEO Premium are the only active plugins, the issue is caused by our plugin. Please hover over 『Troubleshooting Mode』, click 『Disable troubleshooting mode』 and click here for advice.If not, continue to step 13. Click on 『Dashboard』 then 『Home』. On the left-hand side, click on 『Dashboard』 at the top. The 『Dashboard』 menu will expand providing you additional options. Click on 『Home』. Under 『Available themes』, click 『Switch to this theme』 on your preferred theme (or the parent theme, if you are using a child theme). Note: If your preferred theme is a child theme, please enable the parent theme first. This will help determine if the conflict is with the parent theme or customization in the child theme.Additionally: if your theme requires any plugins to be activated, you can enable this/those plugins at this stage too. Reproduce the issue you were experiencing. If the issue occurs, Yoast SEO conflicts with your preferred theme. Please hover over 『Troubleshooting Mode』, click 『Disable troubleshooting mode』, and click here for advice.If not and you have a child theme, repeat the steps to enable and test the child theme. Click on 『Plugins』 then 『Installed Plugins』. On the left-hand side, you will see a menu. In that menu, click on 『 Plugins 』. The 『Plugins』 menu will expand providing you additional options. Click on 『Installed Plugins』. Click 『Enable while troubleshooting』 on the first disabled plugin. Note: If the issue is related to a Yoast add-on or a specific plugin, please enable this plugin before other plugins. Reproduce the issue you were experiencing. The next thing to check is for the minimum plugin environment required to reproduce the issue. To check, this requires some patience and time. Activate plugins one at a time while testing for the issue. This step will be repeated many times as you layer on one part of your site until you find the minimum setup required.If the issue occurs in a specific environment, Yoast SEO conflicts with the plugin you just activated. Please hover over 『Troubleshooting Mode』, click 『Disable troubleshooting mode』 and click here for advice.

How to manually check for plugin conflicts

The fastest way to rule out conflicts is to deactivate all non-Yoast plugins and switch to a default WordPress theme like Twenty Twenty. If this resolves the issue, you have a conflict and should activate one plugin at a time until you locate the conflict. Finally, after all plugins are activated, switch to your theme. This will narrow down the conflict to a specific plugin or a theme conflict. The steps below will walk you through the process.

Deactivate all plugins and switch to an unaltered default WordPress theme like Twenty Twenty.Reproduce the issue you were experiencing.If the issue occurs, this means our plugin is not causing the unexpected behavior. Click here for advice.If the issue does not occur, continue to step 3.Activate only Yoast SEO.Reproduce the issue you were experiencing.If the issue occurs, the issue is caused by our plugin. Click here for advice.If not, continue.Activate Yoast SEO Premium.Reproduce the issue you were experiencing.If the issue occurs, the issue is caused by our plugin. Click here for advice.If not, continue.Activate your preferred theme (or the parent theme, if using a child theme).If the issue occurs, the issue is caused by your theme. Click here for advice.If not and you have a child theme, repeat the steps to enable and test the child theme.If the issue occurs, the issue is caused by your child theme.Activate one of the previously active plugins.If the issue is related to a Yoast add-on, please enable Yoast plugins before other plugins. If the issue is related to a specific plugin feature, activate this plugin before other plugins.Reproduce the issue you were experiencing.If the issue occurs, Yoast SEO conflicts with the plugin you just activated. Click here for advice.If not, repeat the steps to activate the next inactive plugin until you』ve found what minimal combination is causing the issue.

Results of a conflict check

There are three important questions that you should be able to answer after completing a conflict check.

Does the issue occur with no active plugins on a default theme?Does the issue occur with only Yoast SEO (free or premium with no add-ons) on a default theme?If no to both above, what is the minimum setup required to reproduce the issue consistently?

Issue happens with no plugins & default theme

As much as we』d love to help, the issue is not caused by our plugin. This may be a WordPress issue, a conflict with your specific setup, or something related to your server or web host. Opening a topic in the WordPress support forums may help point you in the right direction.

If you were using the Health Check plugin, please hover over 『Troubleshooting Mode』 and click 『Disable troubleshooting mode』. This will, also, automatically disable when you log out of your WordPress admin account.

Issue happens when only Yoast SEO (Premium) is active

Please file a bug report for our development team.

If you were using the Health Check plugin, please hover over 『Troubleshooting Mode』 and click 『Disable troubleshooting mode』. This will, also, automatically disable when you log out of your WordPress admin account.

Plugin or theme conflict

Once you have identified a possible conflict, please hover over 『Troubleshooting Mode』 and click 『Disable troubleshooting mode』. Then repeat the conflict check steps activating the conflicting plugin or theme without Yoast SEO (free or premium) active. If the issue happens while Yoast SEO (free or premium) is not active, please report the issue to the author of the plugin or theme.

If the issue happens while Yoast SEO (free or premium) is active alongside another plugin or theme, please file a bug report for our development team. As the issue is a conflict with another plugin or theme, we highly recommend reporting the issue to the development or support team of the other plugin or theme. Having both teams work on the issue is a benefit to you.

If you were using the Health Check plugin, please hover over 『Troubleshooting Mode』 and click 『Disable troubleshooting mode』. This will, also, automatically disable when you log out of your WordPress admin account.

Common questions and concerns

I can』t do this on my live site

The Health Check plugin used above allows you to run a conflict check without affecting normal visitors to your site. However, we understand if you wouldn』t want to deactivate your plugins and switch themes on a production site, so it may be preferable that you set up a staging environment for your tests.

Some popular web hosts offer quick setups for a staging site so please contact your web host for assistance. If your web host does not offer staging sites, this article will help you create a staging site.

Will I lose my plugin settings?

Yoast settings are stored in the database and are saved when you deactivate Yoast plugins. Deactivating other plugins or changing themes should not cause you to lose any settings, however, we cannot guarantee it. For the health and safety of your site, we recommend making a complete backup of your website. This simply provides you with a safety net in the event something doesn』t reset correctly.

Why can』t I just deactivate the Yoast plugin?

If you』re reading these steps, something has already failed within Yoast so deactivating Yoast plugins won』t provide the full picture. Our development team must be able to reproduce the issue in order to provide an accurate solution.

How do I view and search the source code to check for meta tags or schema?

In some cases, you will need to review the source code as you deactivate plugins to check if certain tags have been removed. This guide explains more about how to check and search the source code: How to view and search the source code.

If you are using an external tool, like the Google Structured Data Testing tool, please switch to a code snippet view for the external tool and use the source code instead of the post/page URL as the live post/page URL may be cached with outdated information or not be modified due to the way the plugin handles troubleshooting.

WordPress plugin not working? Check these things!

How to use the Yoast SEO internal linking tool

How to use the Yoast SEO internal linking tool

The Yoast SEO plugin comes with an internal linking tool for WordPress. This is a feature in Yoast SEO Premium that allows you to work on your internal linking structure. Internal linking is one of the most important ways to optimize your pages. Internal links contribute to a better site structure, easier crawling, and indexing of your pages. In this article, we』ll explain how to use the Yoast SEO internal linking tool.

Related articles

Yoast SEO Internal linking suggestions Internal linking for SEO: Why and how?How does Yoast choose which links to show in the internal linking tool? Yoast SEO 16.6: An internal linking workout for SEO fitnessTroubleshooting:Content analysis unsuccessfulBlinking Yoast logoNotice: Once you add a bit more copy, we』ll give you a list of related content here to which you could link in your post

How to get started with the internal linking tool

Before the internal linking tool can get to work, Yoast SEO Premium needs to scan your content in WordPress. The plugin needs to determine what your posts are about, and it does that by scanning your content. We would like you to help us a bit here, by starting that process for us in the settings of Yoast SEO.

Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Go to 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『Tools』. The 『SEO』 settings will expand providing you additional options. Click on 『Tools』. Click 『Start SEO data optimization』. The plugin will perform a series of analyses, including ones that on your internal linking structure. Read more about the SEO data analysis here.

A few things to remember:

You only have to analyze your content this once. It may take some time if you have a lot of content. Keep the browser window open while the analysis is running. 

Once complete, you should see a green checkmark.

Where to find the internal linking tool

Now that we have analyzed your content, we can give you internal linking suggestions. The internal linking tool for WordPress is located in the Yoast sidebar of your page and post editor (see image below).

Since Yoast SEO 14.7, you』ll find five suggestions for links, including posts, pages, tags, or categories. The suggestions all carry a label to distinguish them from each other easily. For example, the image below shows three links to posts and one link to a category archive page. Cornerstone articles will be displayed above the other suggestions, so you won』t forget to link to them! 

How to add internal links in WordPress

In the internal linking tool, we use two icons:

A copy/paste icon. Click that icon, and we』ll add the link to your clipboard.A checkmark for all the posts you have already linked to in your article.

There is also a drag-and-drop functionality in there as well, which makes internal linking even easier. Simply click a link and hold your mouse button. Move to the spot where you want the link and release the button. Done! With this drag-and-drop option, you can create a related post block on the fly, just to name one of the possibilities.

Oh, and just so there』s no confusion: the internal linking tool is indeed a feature of our Premium plugin. It』s one of those extra features of our Yoast SEO Premium plugin that make it worth your while.

The Yoast internal linking blocks

With Yoast SEO Premium, you can also easily add lists of internal links to your posts and pages. You can read more about how to use these blocks by clicking on the links:

How to use the Yoast SEO Premium subpages and siblings blocksUse the Yoast SEO Internal linking blocks to improve internal linking

My SEO title isn』t showing as I have entered it

My SEO title isn』t showing as I have entered it

If you』ve crafted SEO titles for your blog posts, pages, or shop pages, you may be surprised if they aren』t showing properly in Google. There are also times when you set up a template for your titles, only to see them altered in search results. You may notice things like double titles or your branding showing up twice. The title just doesn』t match what you』ve entered into the settings. Let』s go through all the problems you can run into on this front and tackle them one by one.

NOTE: If you need help with meta descriptions, use this guide: Google shows wrong meta description for my site.

To unlock the full potential of Yoast SEO, you may want to consider upgrading to Yoast SEO Premium! Its advanced text analysis helps you write naturally flowing texts. The internal linking tool and the content filters make your posts easy to find. 404 errors become a thing of the past with the redirect manager. And the social previews give you full control of how your posts appear on social media. Get Yoast SEO Premium!

Table of contentsThe source code is wrongSearch term manipulationGoogle cache is outdatedGoogle ignored your preferred titleTitle templatesTheme supportThemes with title-tag supportThemes without title-tag supportEdit your theme filesForce a rewrite

The source code is wrong

The source code for your site should contain exactly one title meta tag. If the tag is missing or more than one appears, you may not see the preferred title in search engines. Please view the source code for your site to determine if either of these situations apply.

Preferred title goes here

If you do not see a title meta tag, please follow the steps in this article.

Alternatively, if you have more than one title meta tag, please run a conflict check to determine what other feature on your site outputs the duplicate title(s).

Search term manipulation

When you search for a specific search term, Google scans all indexed pages for the exact term or phrase. Google uses the search term to highlight information in search results which is why the meta title may be different from what you entered into the plugin.

To see the title without search term manipulation, use the site: search operator followed immediately by the URL of your site. For instance, a search for all pages on example.com without search term manipulation would be site:example.com

Google cache is outdated

It can take up to a week for Google to index the changes you made, depending on how often it crawls your website. So, if you』ve recently updated your title, Google probably hasn』t indexed the new title yet.

You can go to Google and type in cache: followed immediately by the URL of your site or page to see what Google has cached for your site. If the appeared date is before you made the changes, you』ll have to wait for Google to crawl your site again. Sometimes you can speed up this process with the Inspect any URL tool in Google Search Console.

Google ignored your preferred title

Sometimes, Google just doesn』t like your titles. This could be true for all sorts of reasons and the ways of Google are fickle. We have seen that sometimes it can replace your title with parts of your URL. It』s also known to add the brand to the end of your title, or just completely rewrite it when it feels like it. Ultimately, Google will make the final decision on what comes up in search results. You can learn more in Google』s help doc about titles and descriptions.

However, there is still something you can do. You can try writing better titles. For your posts and pages, try writing one sentence titles that contain your brand name and your focus keyword. And for your homepage, your title should probably start with your brand name. Start improving your titles right now, with the help of this article that provides advice on crafting good titles for SEO.

If you do change your title, be sure to use the Inspect any URL tool in Google Search Console to update Google』s index with the new change.

Sometimes this same issue can happen with meta descriptions. Learn more about it here: Google shows the wrong meta description for my site.

Title templates

Now that we』ve looked at the possible reasons that Google doesn』t display your title correctly, let』s look at some possible issues with title templates. First, let』s tackle the title templates that are available within Yoast SEO and how they work.

Wrong title for other pages?

Each post or page』s title is automatically created by using template variables but can be overwritten at the post or page level. As the title is available to all plugins and themes, there are times when the Yoast SEO title is overwritten by another plugin or theme feature. If the template and the page level titles are correct, please check for conflicts.

Theme support

Themes with title-tagThemes without title-tagForce rewrite of titles

Themes with title-tag support

If your theme is compatible with WordPress 4.1 and newer versions, it should declare theme support for the title-tag and remove all calls from theme files to support dynamic titles.</p> <p>Warning: Any manual edits made to theme files may be overwritten by future theme updates. You may wish to explore how to make a Child Theme to prevent this from happening.</p> <p>Does your theme declare title-tag support?</p> <p>You can manually check your theme by looking for add_theme_support() in the functions.php file:</p> <p>add_theme_support( 'title-tag' );</p> <p>You may need to contact your theme developer for further assistance if you are not sure if your theme declares title-tag support.</p> <p>Does your theme still include <title> tags?</p> <p>It is also possible to check your theme manually by viewing the appropriate header or template files for the <title> meta tag.</p> <p>Not sure which template files impact a specific page? We recommend using the plugin What The File.</p> <p>If the theme developer declares support for the title-tag, you should find zero <title> meta tags in theme files.</p> <p>When the theme developer declares support for the title-tagbut included <title> meta tags, these must be removed for the title-tag support to work correctly.</p> <p>If your theme has not properly implemented the new dynamic title method, please contact the theme』s developer to request compatibility.</p> <p>Themes without title-tag support</p> <p>If your theme does not declare support for the title-tag feature, you have two options: edit your theme files or use the force a rewrite option.</p> <p>Edit your theme files</p> <p>Warning: Any manual edits made to theme files may be overwritten by future theme updates. You may wish to explore how to make a Child Theme to prevent this from happening. </p> <p>Search your theme』s files for the title element. You can typically find this in the header.php file. Change the title element to just this:</p> <p><title>

If you are not sure how to do this you may need to contact your theme developer for further assistance.

Force a rewrite

Note: This can considerably slow down your site and is the least desirable option of the two. This is not available when your theme already supports dynamic titles as discussed here.

The first option is to enable 「Force rewrite titles」 on the SEO -> Search Appearance page. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『Search Appearance』. The 『SEO』 settings will expand providing you additional options. Click on 『Search Appearance』. Click on the 『General』 tab. Toggle the 『Force rewrite titles』 switch to 『Enabled』. This is discussed in detail here. Click 『Save changes』.

How to secure a Google Maps API key

How to secure a Google Maps API key

Our Local SEO plugin allows you to add Google Maps API keys. To prevent quota theft, secure your API key following these best practices. There are two types of restrictions: application restrictions and API restrictions. In this article, we』ll explore both of these restrictions. If you need help setting up your key, check out our guide for generating and setting up a Google Maps API key first.

Related articles

How to generate and set a Google Maps API keyConfiguration guide for Local SEO

Table of contents

Application restrictionsAPI restrictionsRemoving restrictions

Application restrictions

Our Local SEO plugin uses a Google Maps Javascript API (browser) key. The browser key should be restricted using the HTTP referrer restrictions. We』ll explore what this means below.

Javascript API (browser) key: HTTP restrictions

For the Google Maps Javascript API (browser) key, please enter the correct HTTP referrers, which is most commonly used in this format:

https://example.com https://example.com/*

There are other options depending on your preferred URL format. Learn more here. If you are unsure as to what HTTP referrer to add, please contact your web host or server admin.

API restrictions

The Yoast Local SEO plugin uses the following APIs:

Maps JavaScript API (browser key)Directions API (browser key)Timezone API (browser key)Geocoding API (server key)

How to remove Google Maps API restrictions

We highly recommend securing your API key to prevent others from using your quota. The downfall is that incorrect restrictions can cause the maps to fail. Temporarily removing the restrictions will help identify if the restrictions are causing unexpected behaviors. Go to Google API Console. If prompted, log in. Select your site project. Click on the name of your API  key. Select 『None』 under the 『Application restrictions』 section. Select 『Don』t restrict key』 under 『API restrictions』 section. Click 『Save』. Google says it may take up to 5 minutes for the settings to take effect.

After 5 minutes, start from your homepage and browse to where the map should appear. If the map appears, the restrictions were invalid. Please re-add the restrictions one option at a time to determine which restriction caused the map to not appear.

The Yoast SEO readability analysis is available for many languages

The Yoast SEO readability analysis is available for many languages

It can be hard to write easy-to-read content that』s also optimized for search engines. That』s why Yoast SEO is here to help you out with the SEO analysis and the readability analysis. Not only when you write in English, but also when you write in other languages.

Most of these checks in Yoast SEO work for every language. In virtually all languages, we can recognize if your focus keyphrase has been used in the first paragraph, if you』re using enough words, and if you specified a meta description.

However, some checks are language-specific, and some of the checks behave differently for different languages. Below, you』ll find an overview with language-specific features and the languages they』ve been implemented for.

Which languages are fully supported?

The readability analysis in Yoast SEO is fully available in 20 languages: English, German, Dutch, Farsi, French, Spanish, Italian, Portuguese, Czech, Russian, Polish, Swedish, Hungarian, Indonesian, Arabic, Hebrew, Turkish, Norwegian, Slovak, and Greek.* Check the overview below for other languages.

* Unfortunately, it』s not possible to calculate the Flesch reading ease score for some of these languages. Check the overview below to see which languages.

Unlock the powerful content analysis in Yoast SEO Premium

Unlock powerful features and start natural text optimization with the Yoast SEO Premium plugin!
Get Yoast SEO Premium »Only $89 USD / per year (ex VAT) for 1 site

Features per language

Below, you』ll find an overview of the language-specific features in the Yoast SEO readability analysis.

AR = Arabic, CA = Catalan, CS = Czech, DE = German, EN = English, ES = Spanish, FA = Farsi, FR = French, GR = Greek, HE = Hebrew, HU = Hungarian, IN = Indonesian, IT = Italian, JP = Japanese, NL = Dutch, NO = Norwegian, PL = Polish, PT = Portuguese, RU = Russian, SK = Slovak, SV = Swedish, TR = Turkish

Read more

Want to read more about language recognition in Yoast SEO? Check out:

Language availability in Yoast SEOHow to use the Yoast SEO Premium word form recognition in your languageHow to use the readability analysis in Yoast SEOTransition words in your languageHow we make Yoast SEO understand your language

How to implement Yoast SEO breadcrumbs

How to implement Yoast SEO breadcrumbs

Table of contentsWhat are breadcrumbs? Why are they important?What do the Yoast SEO breadcrumbs do?How to use the Yoast breadcrumbs block to add breadcrumbs to single posts and pages What do the Yoast SEO breadcrumbs look like?How do I implement Yoast SEO breadcrumbs site-wide?How can I add breadcrumbs with a shortcode? How do I enable and set-up the Yoast breadcrumbs?I』m a theme developer, how do I integrate Yoast breadcrumbs in my non-WooTheme?How do I configure breadcrumbs on posts and pages?How does it work with the WooThemes breadcrumbs?How do I edit the breadcrumbs pathway?

What are breadcrumbs? Why are they important?

Breadcrumbs are a way to help your users better navigate your site and its structure. Additionally, they can appear on Google and provide a better user experience. If you want to know more about breadcrumbs please visit our: What are Breadcrumbs and Why are they Important for SEO guide.

To make it easy for users and search engines to navigate your site, you need more than breadcrumbs. Yoast SEO Premium comes with an internal linking feature, as well as content filters. With those tools, you can keep your content structured, findable, and up-to-date.

What do the Yoast SEO breadcrumbs do?

The Yoast SEO breadcrumbs will output JSON-LD data in the source code. We have found this to be the most reliable method of implementing breadcrumbs for rich snippets.

How to use the Yoast breadcrumbs block to add breadcrumbs to single posts and pages

With Yoast SEO, it is possible to add breadcrumbs to single posts and pages. You can do that with the breadcrumbs block. All you need to do is add the block to the post or the page, and that』s it! Note that the breadcrumbs you add with the block are only visible on the individual page you added the block to. You will need to use the steps we mention below if you want to have site-wide breadcrumbs. To learn how to use the block, watch the video below.

What do the Yoast SEO breadcrumbs look like?

Once configured, Yoast will show the JSON-LD in the source code.

Yoast SEO Breadcrumbs as JSON+LD as they appear in the Source code for the plugin sales page.

Eventually, Google will replace the link that appears beneath your blue SEO Title with one that shows the breadcrumb pathway.

Yoast SEO Breadcrumb pathway as shown in Google.

How do I implement Yoast SEO breadcrumbs site-wide?

The steps below are a temporary solution as manual edits made to theme files may be overwritten with future theme updates. Please contact the theme developer for a permanent solution.

We』ve written an article about the importance of breadcrumbs for SEO. To implement the breadcrumbs function in Yoast SEO, you will have to edit your theme. If you are not sure how to edit the theme files, your theme developer may be able to help. Alternatively, you may use a Yoast Partner. We recommend that prior to any editing of the theme files, a backup is taken. Your host provider can help you take a backup.

Copy the following code into your theme where you want the breadcrumbs to be. If you are not sure, you will need to experiment with placement:

<?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '

' );
}
?>

NOTE: Depending on your theme you may or may not need to add in the beginning PHP tags. If you are not sure, your theme developer can help.

Common places where you could place your breadcrumbs are inside your single.php and/or page.php file just above the page』s title. Moreover, another option that makes it really easy in some themes is by just pasting the code in header.php at the very end.

In most non-WooTheme themes, this code snippet should not be added to your functions.php file. If you have trouble locating the correct place to add the code, please contact the theme developer for assistance.

How can I add breadcrumbs with a shortcode?

Yoast can output breadcrumbs with a shortcode on a site』s posts, pages, and taxonomies. If you are using Gutenberg, you will need to insert a shortcode block and add the following code:

首頁 » 第 8 頁

If you are using the Classic editor (or if the post type does not yet support Gutenberg) you will need to click on the Text editor and add in the shortcode (see image below).

This will output the breadcrumb pathway into that part of the page. The only way to remove the breadcrumb from the page is to delete the shortcode. It cannot be disabled in the SEO-Search Appearance-Breadcrumb section. If you use the breadcrumb shortcode you do not need to add the breadcrumb code snippet described here to your theme』s files.

Note that the shortcode works only on the page that has them, it is not a global solution. If you want to add breadcrumbs to all your post types efficiently, you will need to use that code snippet.

How do I enable and set-up the Yoast breadcrumbs?

Yoast SEO offers a breadcrumb feature. This feature is disabled by default as you or your theme developer must add code to your theme files. After that, go to SEO → Search Appearance → Breadcrumbs and enable the breadcrumb feature. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『Search Appearance』. The 『SEO』 settings will expand providing you with additional options. Click on 『Search Appearance』. Click on the 『Breadcrumbs』 tab. Scroll down to the bottom of the screen and toggle the 『Breadcrumbs』 switch. To add Yoast breadcrumbs, toggle the switch to 『Enabled』.To remove Yoast breadcrumbs, toggle the switch to 『Disabled』. If you enabled the breadcrumbs, configure the settings to your preference. Note that Pages do not get a Taxonomy to Show option and therefore are not shown. Instead, a shortcode must be used to display them. Click 『 Save changes』. Show Blog Page Feature If you want to use the feature, you will need to set-up a static page for your Posts Page in the Settings-Reading section of your WordPress site.

I』m a theme developer, how do I integrate Yoast breadcrumbs in my non-WooTheme?

If you are a theme developer you may need to take one additional step to complete the integration with Yoast SEO Breadcrumbs by adding our breadcrumbs filter.

Once this filter has been added to your theme, the Yoast breadcrumbs will take over all the non-Yoast ones.

How do I configure breadcrumbs on posts and pages?

To configure the breadcrumbs please use this guide. Note, that the Taxonomy to Show does not appear in the Breadcrumb section. Instead, you will need to use a shortcode.

How does it work with the WooThemes breadcrumbs?

If you have a WooTheme you may need to add some different code. If you are not sure if you have a WooTheme, your theme developer can help. You can also replace WooThemes Breadcrumbs.

How do I edit the breadcrumbs pathway?

Change the category in the breadcrumb pathway on posts by selecting the primary category

You can change the breadcrumb pathway on posts by selecting the primary category. For example, if you select a Subcategory as primary, Yoast will output the Parent Category and also the Subcategory. You may need to experiment with selecting categories in order to get the right pathway to appear.

Select Category and be sure to mark it as primary. In the example image below, the subcategory (also called a child category was selected)

2. See parent (also called Primary or Main) and child category appear.

Change the title of a post or page or taxonomy in the breadcrumb pathway by adding in a custom title

You can add a custom breadcrumb title for a post or page or taxonomy. As a result, the default title will be replaced. Check out our help article on how to customize your breadcrumb titles to learn how!

Change the full breadcrumb pathway using a filter

To edit the breadcrumbs pathway use the filter below and place it in your child theme』s functions.php file:

wpseo_breadcrumb_links

We also have some examples of how to edit and remove breadcrumbs. If you are not sure how to use them, where your functions.php file is, or what a child theme is please contact your theme developer for more information. Alternatively, consider a Yoast Partner who can help.

Change the breadcrumb separator

If you need to change the breadcrumb separator you can do so by going to SEO-Search Appearance-Breadcrumb Pathway and locate the Separator Between Breadcrumbs field. Then, you can add whatever character you want here.

If you want to further customize the separator you can do so using the filter below. It would go into your functions.php file. We recommend using a child theme to preserve changes. If you are not sure how to use the filter, where your functions.php file is, or what a child theme is please contact your theme developer for more information. Alternatively, consider a Yoast Partner who can help.

wpseo_breadcrumb_separator

Change single items in the breadcrumb pathway using a filter

To edit individual items/links in the breadcrumb pathway use the filter below and place it in your child theme』s functions.php file:

wpseo_breadcrumb_single_link

We also have some examples of how to edit and remove individual breadcrumbs.

If you are not sure how to use them, where your functions.php file is, or what a child theme is please contact your theme developer for more information. Alternatively, consider a Yoast Partner who can help.

How do I change the breadcrumbs on a WooCommerce shop page?

You can edit the shop page by using some of these filters and code snippets. It would go in your functions.php file. The code can also be used to make the Shop page appear elsewhere on your site such as on a Product Category page.

If you are not sure how to use them, where your functions.php file is, or what a child theme is please contact your theme developer for more information. Alternatively, consider a Yoast Partner who can help.

Common XML sitemap errors

Common XML sitemap errors

Are you getting an error on or about your XML sitemap? In this article, we』ve listed the most common XML sitemap errors, along with their causes and solutions.

Yoast SEO Premium makes it easy to improve and control your site structure. Among the many other benefits, it also comes with an internal linking feature and content filters. Their job is to make sure your audience and search engines find the posts and pages they need on your site.

If the 『Detected』 date is not today』s date, please test the individual sitemap to verify whether or not the issue has been resolved.

Types

Sitemap errors (General)
Errors in Bing Webmaster Tools
Errors in Google Search Console

Sitemap errors (General)

ErrorCauseSolutionMy sitemap is not using the URL format. For example, it does not include/exclude www or has http instead of https.The sitemap uses the same protocol as the WordPress Site URL.Go to Admin > Settings > General and change the site URLs to the correct protocol. If you have recently switched your URL format, you may have incorrectly formatted URLs in your database. Please backup your database and complete a search and replace of the old to new format.My sitemap is a white page or a header with no URLs.Your XSLT file is unavailable, the XML is invalid, or the 「Do not process 404 errors for static objects with WordPress」 setting is checked in W3 Total Cache.Check this page to see which error applies to you, and fix it accordingly.My sitemap doesn』t work on an Apache server.Most likely, you haven』t implemented our rewrite rules.This article has more advice on troubleshooting the sitemaps on Apache servers: Yoast XML Sitemaps on Apache serversMy sitemap doesn』t work on an NGINX server.Most likely, you haven』t implemented our rewrite rules.This article has more advice on troubleshooting the sitemaps on NGINX servers: Yoast XML Sitemaps on NGINX serversMy plugin won』t create a sitemap.The settings of your permalinks aren』t properly saved.Go to WordPress 『Settings』 in the backend Go to 『Permalinks』 Click 『Save Changes』 (without altering anything)The sitemap has gray links.This is how we built it.Gray links in your sitemap identify recently visited URLs in your own browser. Google does not see the browser formatting as they retrieve the XML source code. Learn more in this article about gray links in sitemaps.My new videos are at the bottom of my second sitemap.This is how we built it.This way only the last video sitemap changes and Google only needs to re-fetch that one instead of re-fetching all the video sitemaps all the time. The last update time will tell Google what』s new.My sitemap does not update.Sometimes the cache functionality on your site prevents the sitemap from updating automatically. This article has more advice on how to tackle this issue: Sitemap does not update.I don』t see an individual page in my sitemap. There are multiple reasons an individual page may be missing from the XML sitemap: 1. You have set the page (or the whole post type) to noindex. 2. The page』s canonical URL is set to a different URL.3. The page was redirected to another URL by Yoast SEO Premium. 4. If it』s the news sitemap, the page has not been published within the past 48 hours.1. To check if an individual page is set to noindex, go to the Advanced tab in the Yoast SEO metabox or sidebar, and make sure you allow search engines to show the page in the search results. To check the settings for the whole content type/taxonomy, go to the Advanced settings in Yoast SEO and ensure you are not blocking search engines from accessing your content. 2. To check if the page』s canonical URL is set to a different URL, use the URL inspection tool and follow Google』s guidelines on consolidating duplicate URLs.3. If you are using Yoast SEO premium, check if the page was redirected to another URL in Yoast』s redirect manager.

Errors in Google Search Console

ErrorCauseSolutionXML or text declaration not at start of entity / XML declaration allowed only at the start of the documentThere are probably several lines of whitespace preceding the <?xmltagTo be sure this is the case, follow the steps on this page. After that, start searching. Something in your WordPress install, either a plugin or your theme is outputting whitespace, and it shouldn』t… It』s not a bug in our plugin. A conflict check maybe helpful.Unsupported format. Your file appears to be an HTML pageYou』re using W3 Total Cache and you』ve ticked the setting to hide the sitemap from normal visitors.You should create an extra user agent group. You can do that by following the steps on this page.URL blocked / restricted by robots.txtThis error appears when Google is unable to crawl the specific URL due to a robots.txt restriction.Check this page to see which restriction is applied to your site and fix it accordingly.Your Sitemap or Sitemap index file doesn』t properly declare the namespace.This error appears when something on your site is modifying URLs after the sitemap is generated.This is virtually impossible for us to locate or fix as it』s not something controlled by our plugin. See this article for more information.Missing XML tag. This required tag is missing. Please add it and resubmit.This error appears when the sitemap contains zero items.Please create content for the sitemap. See this article for more information.General HTTP error: 404 not foundThere』s a handful of causes depending on which sitemap displays the error.If it』s your sitemap index, you should follow these steps. If it』s an individual sitemap, you should follow these steps. If you have a custom post type 『Video』, add a single line of code to your functions.php. If you have a custom post type 『News』, add a single line of code to your functions.php.Unknown news siteYour website may not be approved for Google News.Please verify the URL submitted to Google News exactly matches the URL in your sitemap. If you have not applied for inclusion, please visit the Google News Publisher Center.

Errors in Bing Webmaster Tools

ErrorCauseSolutionDownload of the sitemap or feed failed.The sitemap may not be accessible to Bing.Use Bing』s Mobile Friendliness Test Tool to see if Bing can read the sitemap. If the tool successfully loads feedback, resubmit the sitemap to Bing. If the tool is unsuccessful, your site may be slow or have restrictions set for Bing. Check out the site speed tools we recommend to locate areas where you can improve your speed. Your web host may also be helpful when a site is slow.

Google shows the wrong meta description for my site

Google shows the wrong meta description for my site

With Yoast SEO and Yoast SEO Premium, you can craft excellent meta descriptions for your blog posts. But sometimes Google has a mind of its own. In some cases, it may decide to show a search result snippet that does not match what you』ve written. In this article, we list the possible causes of this issue.

NOTE: If you need help with titles, use this guide: Google shows wrong titles for my site.

Table of contentsGoogle decided to show a different meta descriptionTechnical reasonsThe meta description tag is missing or brokenA meta robots tag is disabling the meta descriptionGoogle hasn』t seen your new descriptionSearch term manipulationSearch engines ignored your preferred meta description

Google decided to show a different meta description

The most common reason that Google shows a different meta description than the one you provided, is that they think that their snippet is better (for that search, for that user).

Google』s aim is to help users to get the right content to answer their questions and to solve their problems. If your meta descriptions aren』t doing a good job of doing that, Google might show something different.

If Google decides to change, ignore, or show something other than your specified meta description, there』s, unfortunately, nothing that you can do about it. The best advice we can provide is to try different descriptions. This article provides advice on creating the right description for your site.

It』s worth considering why Google might ignore your description, though, and learning from that instead of fighting it. For example:

Perhaps your description is overly self-promotional, and talks about you (or your business), rather than describing what the page can do to help your audience?Perhaps your description very generic, and not specific to the problems the page solves (this happens a lot with automatically generated meta descriptions)?Perhaps the page might be relevant for multiple different keyphrases. Or different parts of that page might answer different questions, or solve different problems. That makes it hard to craft a 『perfect』 meta description which is right for each of those users, in each of those situations. In these cases, a dynamic meta description generated by Google might be more helpful to users than a generic one.

Ultimately, you should consider the meta descriptions you write as a 『hint』 for Google to use when they feel it』s appropriate. Often, however, they』ll tailor the results for specific users, searches and keyphrases, in ways which you can』t control. They do that because they believe it provides a better experience for their users.

Sometimes this same issue can happen with titles. Learn more about it here: Google shows the wrong title for my site.

Technical reasons

Sometimes, Google may show a different meta description because of technical issues with your website.

The meta description tag is missing or broken

If your WordPress theme doesn』t follow best practices, or if you』re using plugins that alter the contents of the code in your templates, then your meta description might be missing.

The HTML source code for your site should contain exactly one description meta tag. If the tag is missing, or if more than one appears, you may not see the preferred description in search engines. The tag should look like this:

If you do not see a description meta tag, or if the tag looks 『broken』, please follow the steps in this article.

If you have more than one description meta tag, please run a conflict check to determine what other feature on your site outputs the duplicate description(s).

A meta robots tag is disabling the meta description

If the page has a meta robots tag with a nosnippet value, or a max-length: 0 value, then search engines won』t show any meta description in the search results.

You can view the HTML source code of the page to check for a meta robots tag. It should look like this:

You can control your robots tag via your meta robots advanced settings.

Google hasn』t seen your new description

If you』ve recently updated your description, Google might not have crawled the page, or updated their index with your content. It can take time for Google to process the changes you made, depending on how frequently your website is crawled. If you』re concerned about crawl rates or speed, we have some advice in this article.

Search term manipulation

If you searched for SEARCH TERM, Google scans all indexed pages for the exact term or phrase. Google uses the search term to highlight information in search results which is why the meta description is different than what you entered into the plugin.

To see the meta description without search term manipulation, use the site: search operator followed immediately by the URL of your site. A search for all pages on example.com without search term manipulation would be site:example.com

Search engines ignored your preferred meta description

Ultimately search engines will, as you have seen, make the final decision on what they show in their search results. Due to this being handled on Google』s end, there is little you can do to force Google to display the preferred description. The best advice we can provide, unfortunately, is to try different descriptions. This article provides advice on creating the right description for your site.

If you do change your description, be sure to use the Inspect any URL tool in Google Search Console to update Google』s index with the new change.

Sometimes this same issue can happen with titles. Learn more about it here: Google shows the wrong title for my site.

How do I disable the Cornerstone Content feature?

How do I disable the Cornerstone Content feature?

Yoast SEO includes an option to select cornerstone content. This feature is enabled by default. Log in to your WordPress website. When you』re logged in, you will be in your 『Dashboard』. Click on 『SEO』. On the left-hand side, you will see a menu. In that menu, click on 『SEO』. Click on 『General』. The 『SEO』 settings will expand providing you with additional options. Click on 『General』. Click on the 『Features』 tab. Toggle the 『Cornerstone content』 switch. To enable the feature, toggle the switch to 『On』.To disable the feature, toggle the switch to 『Off』. Click 『Save Changes』.