Control Access to Yoast SEO Admin Menus
The Pro version of PublishPress Capabilities allows you to block access to admin menu links in the Yoast SEO plugin. This is useful because Yoast SEO has limited options for managing who can access the admin screens and important features.
Yoast SEO is the most popular WordPress SEO plugin and contains everything that you need to manage your SEO. Yoast SEO is packed full of feature that help search engines to find and understand your website.
When you first install Yoast SEO, you'll see one top-level menu link, plus at least 5 sub-menus:
- Search Appearance
It is possible to control who can access these links by using the PublishPress Capabilities Pro plugin.
- After installing PublishPress Capabilities Pro, go to “Capabilities”, then “Admin Menus” in your WordPress admin area:
- In the top-left corner of this screen, choose the role that you want to edit. In the image below, I'm going to restrict Yoast SEO access for the “SEO Manager” role.
- Scroll down and you can enter a red X for any menu link that you don't want users in the SEO Manager role to access.
- Click “Save Changes”.
Now when an SEO Manager logs in to your site, they will not be able to the Yoast SEO menu links that you have blocked:
This approach works for the core Yoast SEO plugin and can also be used for add-on plugins such as Local SEO, WooCommerce SEO, Google News, and more.