admin管理员组

文章数量:1336643

WordPress generates a post for each image I upload. On my site I got a picture assigned to the header: /. The image is separately browsable via /. How can I disable/hide this feature so search engines won't find those sites?

WordPress generates a post for each image I upload. On my site I got a picture assigned to the header: https://autowaschplatz.at/contact/. The image is separately browsable via https://autowaschplatz.at/person-using-macbook-3747202/. How can I disable/hide this feature so search engines won't find those sites?

Share Improve this question asked Jul 14, 2020 at 8:10 arminbarminb 1011 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

There are a few ways to do this with updates to functions.php as well but the easiest might be to first install Yoast plugin and then use the setting for Attachment URLS that redirect it to the parent post https://yoast/media-attachment-urls/

本文标签: Disable posts generated from image uploads