Plugin Support
Jerlyn
(@jerparx)
Yoast SEO works with public custom post types which is the default option when creating a custom post type.
If the custom post type is defined with ‘public’ => false, the Yoast SEO functionality will not be available.
https://kb.yoast.com/kb/does-yoast-seo-work-with-custom-post-types/
In case you want to disable WordPress SEO plugins on a page by page basis, then this article is helpful as well:
https://membershipworks.com/disabling-wordpress-seo-plugins-on-a-page-by-page-basis/
Hi
Thank you for your reply, unfortunately the link to yoast regarding custom post types doesnt explain how to implement it.
Do you know what and where I need to put in the code?
Thank you
Before diving into custom code, can you explain exactly what part of Yoast SEO you want removed from the custom post types?
If you want everything from the front and backend removed for a specific post type, this would require writing custom code to unhook everything from the custom post type.
If you only want to remove certain parts, for example: you don’t want the custom post types in the sitemap, there may be a simpler solution.
Hi
Thank you for your reply.
Its pretty simple, is there a way to have yoast ignore pages that have a specific text in their url,
i gave the example above but maybe didnt explain it properly.
I have copied what it says in the all in one seo plugin, I hope this explains it a bit better.
Enter a comma separated list of pages here to be excluded by All in One SEO Pack. This is helpful when using plugins which generate their own non-WordPress dynamic pages. Ex: /forum/, /contact/ For instance, if you want to exclude the virtual pages generated by a forum plugin, all you have to do is add forum or /forum or /forum/ or and any URL with the word \”forum\” in it, such as http://mysite.com/forum or http://mysite.com/forum/someforumpage here and it will be excluded from All in One SEO Pack.
I am wanting to use yoast seo as I feel its a much better plugin with more features.
@webmast8 While you’re unable to exclude the Yoast SEO functionalities from the specific pages, you can exclude the specific post types completely. You can do that by directly from the Yoast SEO → Titles & Metas → Post Types (tab).
However, if this isn’t what you want, we’d welcome you to submit a feature request to our GitHub repository. We’re actively using the bug tracking on our GitHub repository so your best next step would be to create a new feature request for our developers at https://github.com/Yoast/wordpress-seo/issues/new. You can create a new issue to submit your feature request. You will need an account to create one.
Don’t forget to include the URL to this conversation in your feature request!
Hi
Thank you for your reply but it doesnt help.
what do you mean by excluding post types, i am looking at the plugin when you say to go but there is not option to exclude post types?
Can you please tell me how to do it, you can see from what the all in one seo plugin provides, its very clear and tells you exactly what to do.
As I havent used yoast before and you gave no instruction on how to exclude pages I am still left wondering what to do.
Any help is greatly appreciated
thanks
Hi,
We understand you do not want to remove Yoast from specific post-types. To do this go to Yoast SEO → Titles & Metas → Post Types. Find the post-type in question and then select the “hide” in the Yoast SEO Metabox. See image: https://pasteboard.co/GFbdRXR.png. When that happens the Yoast SEO Metabox will be removed from those post-types.
Hi Pcosta
The pages I need to exclude are not really pages, they come via a real estate listing software through an API, what yoast is doing with these pages is putting page not found in the title, which is not good for seo, plus yoast is breaking the search function on the site. So hiding the meta box isnt what I am looking to do.
I really appreciate you input
Thanks
@webmast8 Since the pages are generating through an API, you may need to implement custom code to fix that and we’re not sure how as we don’t know anything about your setup, nor we want to take the risk that we break your website by suggesting incorrect or incomplete code. Maybe someone watching these forums can assist you further, but if your topic is inactive for 2 weeks, we’ll mark it as resolved to keep the overview.
Thank you for your understanding.
hi
If I were to buy the premium version would this issue be able to be resolved?
Premium support does not include creating custom code. They can, however, help troubleshoot the search function not working and, if a bug is found, report the issue on your behalf.
Additionally, the plugin includes many developer filters that can be used to change or remove individual Yoast SEO features. For example, you or your developer can use the ‘wpseo_title’ filter to customize or remove the Yoast title entirely using the sample code found here: https://gist.github.com/amboutwe/34b80a4755b1a9140026bc2c82720114
-
This reply was modified 6 years, 8 months ago by amboutwe.