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
Use noindex for paginated pages/posts is being applied to archives #906
Comments
I have tested this and confirmed that all three settings apply to all paginated content including pages, posts, CPTs, blog page, category, tag, taxonomy, date and author archives. The three settings should only apply to pages, posts and CPTs. They should not apply to archives. We need to make the following changes: 1). Change the behavior of the three settings so they only apply to pages, posts and CPTs Once this is done we should update the help text and documentation to reflect that these settings only apply to pages, posts, and CPTS, add new documentation for the filters and open a new issue for trimming these three options. |
@wpsmort I've fixed (1). I don't think additional filters are needed here since we have the aioseop_robots_meta filter which can be used to filter the robots meta tag value. Our documentation was missing but I added it about a week ago - https://semperplugins.com/documentation/aioseop-robots-meta/ |
The Use noindex for paginated pages/posts option should only apply to posts and pages, but it's being applied incorrectly to categories, tags and other archives.
Need to test to see if this is happening for Use nofollow for paginated pages/posts and Remove Descriptions For Paginated Pages as well.
The code is a jumbled mess and needs to be cleaned up. We also need to improve the filter hooks and documentation.
The text was updated successfully, but these errors were encountered: