最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Disable posts generated from image uploads

programmeradmin5浏览0评论

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/

发布评论

评论列表(0)

  1. 暂无评论