How to make old attachments noindex, nofollow
-
Hello! At the very beginning of using the plugin, I enabled redirecting attachments to the post in which they are published, but now I need to disable redirection. Further, in the plugin settings on the “Attachments” tab, I marked the robots meta tags “nofollow, noindex, noarchive, noimageindex, nosnippet”, but these parameters are displayed only for attachments loaded after changing the settings. All old attachments have “follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large” meta tags. Resaving and deactivating the plugin does not help. Then, I decided to completely disable the robots meta tag on the “Attachments” tab and add it to the attachment pages through the function, but this also did not work. If you click disable, the meta tag will again display “follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large”. How do I enable “nofollow, noindex, noarchive, noimageindex, nosnippet” for older attachments, or disable the robots meta tag entirely on these pages so I can add it manually? Help, please, now Google will index everything, but I don’t need it.
- The topic ‘How to make old attachments noindex, nofollow’ is closed to new replies.