-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Provide ability to bulk noindex posts based on language when a multilingual plugin is in use #9192
Comments
Please inform the customer of conversation # 298340 when this conversation has been closed. |
This makes no sense. Are those pages noindexed? Basically, if they're not noindexed, they should be in the XML sitemap. Making any other decision would be wrong. If they are noindexed, we should exclude them and this is not a feature request but a bug report :) |
@Pcosta88 please either close or change to bug report according to feedback above :) |
@jdevalk An example provided, I did. |
Please inform the customer of conversation # 502400 when this conversation has been closed. |
Please inform the customer of conversation # 558091 when this conversation has been closed. |
Please inform the customer of conversation # 568779 when this conversation has been closed. |
@Djennez going through all |
@omarreiss The report was opened as a feature request to provide the ability to bulk noindex a language. I've updated the title to reflect this. I have also removed some superfluous information. We have no way to do that. |
When a mulitlingual plugin is used like WPML, Yoast outputs all the posts/pages/produces, regardless of language, into the sitemap.
Providing a feature to bulk exclude posts/pages/products based on the language would provide a better user experience and allow users to customize the sitemap for SEO purposes.
For example:
If I have products in two languages: NL and EN. And I no longer sell products in NL or I want to temporarily discontinue my NL Dutch language product offerings. I am unable to bulk noindex those products based on the language. I am not able to remove them from the sitemap.
Providing me with a feature to bulk noindex those products based on the language will then remove them from the sitemap and provide me with a better user experience and more specific SEO customizations. This is especially true since not all user's of our products know how to edit theme files.
WORKAROUND
In order to noindex them users would need to develop the ability using the code snippets here https://gist.github.com/amboutwe/0c71e42aa164238007d7ea88f174a93f/#file-yoast_seo_robots_remove_single-php.
If they want to remove it from the sitemap they would need to use our filter:
wpseo_exclude_from_sitemap_by_post_ids
as just noindexing them is not enough to get them removed from the sitemap.Something like:
The end result of the workaround is that the translated page has a noindex tag on it and is removed from the sitemap.
The text was updated successfully, but these errors were encountered: