Open Pcosta88 opened 7 years ago
This is problematic technically, because of how we calculate that date, but it is indeed a bug and we should fix it. Technically if we change a post type to noindex that wasn't noindex before, we should update all those individual attachment posts to that date.
Please give us a description of what happened.
last modified time did not update when bulk noindex was selected for attachment pages
Please describe what you expected to happen and why.
Making an individual attachment page as noindex results in the attachment-page.xml sitemap to be updated. Therefore, I expected if bulk noindex they it would be updated as well
How can we reproduce this behavior?
1.Note last modified time for the attachment sitemap
2.Mark an attachment page as noindex in advanced section of the Yoast Metabox
3.See last modified time change
4.Go back to attachment page and select it be "index". Save it.
Note: For these last steps, I waited a period of time before returning to it and during some other testing it last modified may have changed. But if you follow them below you will see the last modified does not change.
5.Review what the last modified time is (in this instance it shows 18:10
6.Go to SEO->Titles and Metas->Post Types and select "noindex" for attachment pages
7.See that last modified shows the same time
Technical info