Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 891 forks source link

Single page of post format Link should be excluded from search results #10498

Open webprom opened 6 years ago

webprom commented 6 years ago

Please give us a description of what happened.

Single page of post format Link should be excluded from search results by default or as an option. Can't find such setting anywhere. Only can add noindex nofollow into an individual post.

Please describe what you expected to happen and why.

Tried to find some filter or setting to exclude posts with post format link, that should only create a link in archive, but shouldn't show its individual single page, but found no such option anywhere. Forum thread: https://wordpress.org/support/topic/how-to-noindex-link-post-format-single-pages/#post-10549596

How can we reproduce this behavior?

  1. Searched documentation
  2. Searched in options

Technical info

benvaassen commented 6 years ago

If it's a content type and it's registered correctly, it should show up in the Search Appearance -> Content Types. If it's a taxonomy, it should show up in Search Appearance -> Taxonomies.

How is the Link type being added? Did a plugin or theme create it or did you add it yourself?

webprom commented 6 years ago

No, it's not content type, it's post format. (aside, video, link, chat, etc.) https://codex.wordpress.org/Post_Formats

benvaassen commented 6 years ago

Thanks for the clarification! It's about these:

these

We do have settings for the archive pages for post_formats in the Taxonomies tab. But why would you noindex, nofollow a post with the post format Link? Can you provide me with a use-case for this? You want Google to follow links on your site, especially with post format Links.

webprom commented 6 years ago

Yes, for archives. But link type post format just shows link in category/archive list of different posts, typically you will not go to a single page of such post. So single pages must be hidden for such format, search engines shouldn't be allowed to index such single pages.

benvaassen commented 6 years ago

Discussed with @jono-alderson. It's a rare use case, but he thinks it makes sense to enable people to filter based on format.

webprom commented 6 years ago

thanks.