0

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?

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.com/media-attachment-urls/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.