Disable Attachment Pages Completely


I would like to disable all attachment pages completely. I Googled it, but there’s just information on how to redirect to parent post or homepage. That’s not what I would call an elegant solution. Why introduce unnecessary permalinks that redirect to the homepage? Couldn’t it be disabled completely?

Maciej Krawczyk 2 months 0 Answers 10 views 0

Leave an answer