How to remove Yoast SEO from the admin bar

How to remove Yoast SEO from the admin bar

The Yoast SEO admin bar menu contains useful links to third-party tools for analyzing pages and makes it easy to see if you have new notifications. After receiving feedback from multiple users who wanted to disable this feature, Yoast SEO 3.6 added a toggle switch to enable or disable this 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 ‘General’. The ‘SEO’ settings will expand providing you additional options. Click on ‘General’. Click on the ‘Features’ tab.  Toggle the ‘Admin bar menu’ switch. To show the admin bar menu, toggle the switch to ‘On’.To hide the admin bar menu, toggle the switch to ‘Off’. Click ‘Save Changes’.

How to remove the categories prefix

How to remove the categories prefix

Every time you create a category in WordPress, you create an archive page for that category. By default, WordPress adds a category base of /category/ to the URLs of all category archive pages.

Example URL with the /category/ prefix. 

Categories help you structure your site. But, to create an ultimate site structure, you need a sustainable strategy. Yoast SEO Premium can help you there! It 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.

Example URL with the /category/ prefix removed. 

Read: The perfect WordPress SEO permalink structure and learn how to optimize your permalinks.

How to remove the category prefix with Yoast SEO

In Yoast SEO you can remove the category prefix from the category archive URL.Note: This feature can cause unexpected URL behavior and is not recommended in most cases. 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 ‘Taxonomies’ tab. Toggle the ‘Category URLs’ switch. To include the category prefix, toggle the switch to ‘Keep’.To exclude the category prefix, toggle the switch to ‘Remove’. Save your changes.

How to edit .htaccess through Yoast SEO?

How to edit .htaccess through Yoast SEO?

Table of Contents

Using WordPress Admin
Using Server / FTP
Troubleshooting

Edit In WordPress Dashboard

If the .htaccess file is not writable or your WordPress install has disabled file editing, the following steps may fail. Optionally, you can edit at the server level.

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 ‘Tools’.  The ‘SEO’ settings will expand providing you additional options. Click on ‘Tools’. Click on ‘File Editor’. This menu will not appear if your WordPress install has disabled file editing. Please enable file editing or edit the file through FTP. Make the changes to your file. Save your changes.

Create or Edit On Your Server

Use your favorite text editor and create a text file.Save the empty file with the name .htaccess.Upload the file to your server root.

Now you should be able to edit the newly created file from our plugin using the steps above. If not, you can always edit the .htaccess file directly on your server using FTP or a server file manager.

Please contact your webhost for assistance if you have trouble uploading or editing files on your server.

Troubleshooting

If the issue you experience is not listed below, please see your support options.

Why do I see the error “.htaccess file is not writable”? Your server permissions prevent writing to the file. Please contact your webhost to change the permissions on the .htaccess file. Why is the ‘File Editor’ menu missing? Your WordPress install has disabled file editing. Please enable file editing or edit the file on the server.

Does [Plugin XYZ] Work With WPML?

Does [Plugin XYZ] Work With WPML?

We work closely with The WordPress Multilingual Plugin team to ensure our plugins are compatible.

TIP: Check out this guide on Using Yoast SEO with WPML.

How to change the title separator in Yoast SEO

How to change the title separator in Yoast SEO

In this article, we will explain where and how you can change the title separator symbol in Yoast SEO. This separator symbol will show up automatically wherever you have used the snippet variable %%sep%%. Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. Click on ‘SEO’. On the left side of your screen, you will see your admin menu. Click on the ‘SEO’ tab in that menu. Click on ‘Search Appearance’. The ‘SEO’ settings will now expand providing additional options. Click on the ‘Search Appearance’ tab. Click on the ‘General’ tab. You are now in the Search Appearance settings of Yoast SEO. You will see several tabs at the top. Click on the first tab, which is called ‘General’. Select the separator symbol you prefer below the ‘Title Separator’. Click the symbol you would like to use. The symbols are all shown in the size they’ll appear in the search results. Click ‘Save changes’. Don’t forget to save your changes.

Why can’t I choose my own separator?

While we have considered adding an input field to have you choose your own separator, we’ve decided against this. We’ve tested a fair few separators, including ones that used to be popular like ~, ♥ and ✓and we’ve found that Google doesn’t show these in the search results anymore. The set we’re letting you choose from has been tested and works in the search results at this point.

If you truly want to add your own separator, you can use the wpseo_separator_options filter, which receives an array to which you can simply add your own option.

How to change the og:url output

How to change the og:url output

Facebook’s OpenGraph metadata allows users to share web pages on Facebook. When you add OpenGraph meta tags to your posts and pages, Facebook will display a preview with images and an excerpt when a link to your site is shared. One of the OpenGraph meta tags is the og:url tag. In this article, we’ll explain how you can change the og:url output.

Related articles

Social media optimization with Yoast SEOHow to add OpenGraph meta tagsAdd Facebook publisher tagsHow to set custom Facebook OpenGraph tagsAdd Facebook author tagsFacebook sharing not workingNo image when sharing

What does the og:url tag do?

The og:url tag pulls from the permalink of the post/page. When the permalink changes so will that og:url. The most common request to change the og:url is when a site migrates to https and wants to keep their previous share counts.

How to change the og:url output

You or your developer can use the wpseo_opengraph_url filter to customize this feature. Code examples can be found here.

If you do not have a developer and are not sure how to use the code or where it goes consider using a Yoast Partner who can help.

How to add Facebook’s OpenGraph​ meta tags

How to add Facebook’s OpenGraph​ meta tags

Facebook’s OpenGraph metadata allows users to share web pages on Facebook. If you add OpenGraph meta tags to your posts and pages, Facebook will display a preview with images and an excerpt when a link to your site is shared. In this article, we’ll explore how to add OpenGraph meta tags to your site.

In Yoast SEO Premium, you get full control of your Facebook and Twitter shares! There is no guesswork with the social preview feature. By seeing exactly what your posts look like when you share them, you get the chance to improve your social media presence.

Related articles

Add Facebook publisher tags
Custom Facebook meta tags
Add Facebook author tags
Facebook sharing not working
No image when sharing

The Yoast SEO plugin makes it very easy to add Facebook’s Open Graph meta tags. 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 ‘Social’. The ‘SEO’ settings will expand providing you additional options. Click on ‘Social’. Click on the ‘Facebook’ tab. Toggle the ‘Add Open Graph meta data’ switch.  To enable the feature, toggle the switch to ‘On’.To disable the feature, toggle the switch to ‘Off’. Customize your Open Graph tags. Customize your Open Graph tags by adding a default image for pages without images. If you have a non-static homepage, you can set the homepage Open Graph tags here, as well. Click ‘Save Changes’.

How to edit OpenGraph tags on your post/page

If you want to edit the OpenGraph tags on your post or page, follow the steps in this article on how to set custom Facebook OpenGraph tags.

What are those article and time meta tags?

When you enable OpenGraph, Yoast will output some specific meta tags below. These tags are used by Facebook.

Note: If you are seeing dates in search engines it is coming from elsewhere. Please use this guide: Date appears in search results.

How do I noindex URLs?

How do I noindex URLs?

In some cases, you’d like to keep some posts or pages out of the search results. For example, your internal search results pages or your admin or login pages. You can read more about why you should noindex some posts and pages here. Yoast SEO provides multiple options for setting a URL or group of URLs to noindex. Here, you can read how to do this for various types of content.

Keeping your posts or pages out of the search results is a breeze with Yoast SEO. Do you want more technical SEO stuff done automatically in the background? Yoast SEO Premium makes sure your technical configuration rolls out the red carpet for search engines!

A warning upfront: Setting pages, posts or your site to noindex might have serious consequences for your rankings. So make sure you know what you’re doing! First, carefully determine which URLs you’d want to set to noindex.

Here’s a list of content types you can set to noindex with Yoast SEO:

Individual posts, pages, media or taxonomy itemsNoindex an individual news articleNoindex post types, categories, tags or other taxonomiesNoindex subpages of archivesNoindex an entire siteNoindex individual author pagesWhat about nofollow tags?Related posts

We’ll discuss these types and how to noindex them below.

Individual posts, pages, media or taxonomy items

The advanced section in the Yoast SEO meta box on the edit screen of the item allows administrators and editors to set custom robots information like noindex, nofollow, and other advanced robots settings.

If you don’t want to noindex an individual post, set the setting ‘Allow search engines to show this … in the search results?’ to ‘No’.

To allow authors access to this tab, go to SEO->General->Features and toggle the `Security: no advanced settings for authors` to ‘Off’.

The layout may vary as the example above is from a default post type.

Noindex an individual news article

The Yoast News SEO plugin includes the ability to tell Google News not to index a specific news article. This option is found under the plugins section of the meta box in the ‘Google News’ tab. Learn more about using the News SEO plugin in this article.

Noindex post types, categories, tags or other taxonomies

If you want to noindex a group of items, enable this feature using the steps below. By default, search pages and 404 pages will be set to noindex, follow. 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’. Select the tab that represents the content types, taxonomy or archive type you wish to exclude from the search results. We explain more about the Search Appearance settings and the different tabs here. Toggle the ‘Show XYZ in search results?’ switch. To index the content, toggle the switch to ‘Yes’. To noindex the content, toggle the switch to ‘No’. Click ‘Save Changes’.

Noindex subpages of archives

Google has gotten much better at paginated series, so this feature has been removed from Yoast SEO.

Noindex an entire site

Alternatively, you can noindex the entire site but it’s up to search engines to honor this request. We explain how to noindex an entire site in this article.

Noindex individual author pages

It’s also possible to noindex individual author pages. Read this article on how to noindex individual author pages to find out how.

What about nofollow tags?

Since Yoast SEO 14.4 it is possible to control individual links. Read more about the different link attributes or learn how to use the Yoast SEO link settings.

Nofollow tags are similar to noindex tags, as we describe in this article on meta robots tags. Nofollow tags tell search engines not to pass value through the links on that page. You can assign a nofollow tag to a post by clicking on the Advanced section of the Yoast SEO meta box on the page. There, select ‘No’ for ‘Should search engines follow links on this post. Selecting ‘No’ will output a nofollow tag for the URL.

The default is ‘Yes’, so by default, search engines follow links on posts and pages. This feature is not available on taxonomies like categories and tags and only works on the URL of the post/page. It will not add a nofollow tag to the links embedded in it.

If you are not sure if you should or should not use a noFollow please refer to this guide: Which pages should I noindex or nofollow?

Related posts

Developer information for robot meta tags

How can I update my (premium) plugin?

How can I update my (premium) plugin?

For the health and safety of your site, we recommend creating regular backups of your site and database. This is especially important before installing, updating or removing plugins. Learn more about the benefits of regular backups here.

In this article, we explain how you can easily update your Yoast SEO plugin.

How to update a Yoast plugin using the Updates DashboardHow to update a Yoast plugin using the Plugins OverviewUpdating a Yoast plugin manually using FTPCan I update the plugin on a Staging or Development Site?Automatic updates in WordPress 5.5

How to update a Yoast plugin using the Updates Dashboard

Updating via the updates admin is the quickest way to update all plugins and themes in just a few clicks. We recommending backing up your site before running updates.

Log in to your WordPress website.When you’re logged in, you will be in your ‘Dashboard’.Click on ‘ Updates’Add a checkmark for each available Yoast plugin update.On this page, you will see all of the items that your site has identified as needing updated. Scroll down to the Plugins section and put a checkmark next to the Yoast plugins.Click ‘Update Plugins’

How to update a Yoast plugin using the Plugins Overview

We recommending backing up your site before running updates. Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. Click on ‘Plugins’. On the left-hand side, you will see a menu. In that menu, you may see a number next to ‘Plugins’ in the menu. This indicates the number of updates that are available for your plugins. If you see a number, click on ‘Plugins’. Click ‘Update now’ for the Yoast plugin. Review the plugin list and look for the plugin update notification. Click ‘update now’ to begin the update process. Repeat for every plugin with an update notification.

The information below is written for advanced users. If you are not comfortable with using FTP/SFTP please contact your hosting provider, as they can help you with FTP

Updating a Yoast plugin manually using FTP

If your WordPress admin doesn’t show the available update (which might happen due to a failure to communicate with a WordPress server or if you have an older version of Yoast), if the automatic update doesn’t work or if you need to manually install the plugin for the first time, you can install or update by using File Transfer Protocol (FTP) or preferably the secure version, Secure File Transfer Protocol (SFTP).

Your host provider may be able to help you with FTP/SFTP. You may wish to contact them first before using the steps below. Alternatively, your host provider may have some other method to help install plugins instead of using FTP/SFTP.

Requirements for the manual update

To manually update the plugin, you must have:

Your FTP or SFTP login informationIf you do not have this information, please contact your host provider and obtain your host (or IP address), Username, Password, and Port number.An FTP or SFTP programWe use and recommend FileZilla but any FTP or SFTP program should work, including file managers provided by most web hosts.A Backup of the Site Your host provider may be able to provide a backup or have one that can be made available. You may also wish to review the plugin repository for a backup plugin that can meet your needs.

Manually updating the plugin

Now that you have the required stuff, a manual update consists of downloading, unzipping and uploading the plugin files. 

Go to your My Yoast portal.Log in, if needed. Don’t have a My Yoast account? Create one using our QuickStart Guide.Click on ‘Downloads’.Downloads is located in the sidebar (desktop) or bottom (mobile).Download the plugin zip to your computer.Extract the downloaded .zip file.Upload the extracted files to your plugins folderUpload the extracted plugin folder to the wp-content/plugins folder in your WordPress directory online. The name of the extracted plugin folder should be equal to the name of the existing plugin-folder online.NOTE: Make sure you overwrite the existing plugin-files. Doing so is not expected to remove your existing SEO data or settings. It is all expected to still be saved and will work and appear after the FTP install.

Can I update the plugin on a Staging or Development Site?

To update the plugin please add your site in your My Yoast and switch the subscriptions. This guide explains more: Switching From Development Server to Live Server

Automatic updates in WordPress 5.5

WordPress 5.5 offers the possibility to enable auto-updates for your plugins. Note that, you can only enable automatic updates for Yoast SEO. Automatic updating is not possible for Yoast SEO Premium or the Yoast SEO add-ons.

If you want Yoast SEO Free to automatically update, go to your admin dashboard, click on “Plugins” in your menu, and then click “Enable auto-updates” next to Yoast SEO.

If you have Yoast SEO automatically updated, you will receive a notification on your dashboard. The notification will contain a short summary about the update and a link to the release post on yoast.com.

How can I update my (free) plugin?

How can I update my (free) plugin?

If you have the premium plugin, please see this article instead.

For the health and safety of your site, we recommend creating regular backups of your site and database. This is especially important before installing, updating or removing plugins. Learn more about the benefits of regular backups here.

How to update a Yoast plugin using the Updates DashboardHow to update a Yoast plugin using the Plugins OverviewRemove and re-installHow to manually update a Yoast plugin using FTPAutomatic updates in WordPress 5.5

Did you know that we have a Premium plugin too? Yoast SEO Premium can help you with everything related to SEO! For example, 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 it now!

How to update a Yoast plugin using the Updates Dashboard

Updating via the updates admin is the quickest way to update all plugins and themes in just a few clicks. We recommending backing up your site before running updates. Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. Click on ‘ Updates’ Add a checkmark for each available Yoast plugin update. On this page, you will see all of the items that your site has identified as needing updated. Scroll down to the Plugins section and put a checkmark next to the Yoast plugins. Click ‘Update Plugins’

How to update a Yoast plugin using the Plugins Overview

Updating via the plugin list is a safe and easy alternative to updating via the updates dashboard. We recommending backing up your site before running updates.

Log in to your WordPress website.When you’re logged in, you will be in your ‘Dashboard’.Click on ‘Plugins’.On the left-hand side, you will see a menu. In that menu, you may see a number next to ‘Plugins’ in the menu. This indicates the number of updates that are available for your plugins. If you see a number, click on ‘Plugins’.Click ‘Update now’ for the Yoast plugin.Review the plugin list and look for the plugin update notification. Click ‘update now’ to begin the update process.Repeat for every plugin with an update notification.

Remove and re-install

Log in to your WordPress website.When you’re logged in, you will be in your ‘Dashboard’.Click on ‘Plugins’.On the left-hand side, you will see a menu. In that menu, you may see a number next to ‘Plugins’ in the menu. This indicates the number of updates that are available for your plugins. If you see a number, click on ‘Plugins’.Click ‘Deactivate’ for the Yoast plugin.Review the plugin list and look for the plugin you want to deactivate. Click ‘Deactivate’.Click ‘Delete’ for the Yoast plugin.Click the ‘Delete’ button to remove the plugin for your WordPress installation. Please know that all your settings will remain intact and will be restored after you install the plugin once again.Download the plugin zip to your computer.You can find the Premium versions of our plugin in your MyYoast account. Download the plugin files and save them to your computer.Click ‘Add New’The ‘Plugins’ settings will expand providing you additional options. Click on ‘Add New’.Click the ‘Upload Plugin’ button near the top of the screen.Click the ‘Choose File’ button.Browse to the folder where you saved the plugin download and select the plugin zip file.Click ‘Install Now’.This may take a while so be patient.Click ‘Activate Plugin’You will now have the latest version of your Yoast plugin installed with the exact settings it previously had.

How to manually update a Yoast plugin using FTP

If your WordPress admin doesn’t show the available update (which might happen due to a failure to communicate with a WordPress server) or if the automatic update doesn’t work, you may want to manually update your free plugin by using File Transfer Protocol (FTP) or preferably the secure version, Secure File Transfer Protocol (SFTP). If you are not sure how to do this your host provider may be able to help.

To manually update the plugin, you must have:

Your FTP or SFTP login informationIf you do not have this information, please contact your host provider and obtain your host (or IP address), Username, Password, and Port number.An FTP or SFTP programWe use and recommend FileZilla but any FTP or SFTP program should work, including file managers provided by most web hosts.

Now that you have the required stuff, a manual update consists of downloading, unzipping and uploading the plugin files. We recommending backing up your site before running updates.

Download the plugin zip to your computer.Go to the website of the free plugin, for example Yoast SEO. Download the plugin files and save them to your computer.Extract the downloaded .zip file.Upload the extracted files to your plugins folderUpload the extracted plugin folder to the wp-content/plugins folder in your WordPress directory online. The name of the extracted plugin folder should be equal to the name of the existing plugin-folder online.NOTE: Make sure you overwrite the existing plugin-files. Doing so is not expected to result in the loss of Yoast data or settings on the site.

Another option is to remove and re-install the Yoast plugin. you can do this by following these steps.

Automatic updates in WordPress 5.5

WordPress 5.5 offers the possibility to enable auto-updates for your plugins. Please note that if this is something you want to use, you have to enable it yourself for each plugin. Go to your admin dashboard, click on “Plugins” in your menu, and click “Enable auto-updates” next to every plugin you want to have automatically updated.

If you have Yoast SEO automatically updated, you will receive a notification on your dashboard. The notification will contain a short summary about the update and a link to the release post on yoast.com.