`Hello @mbeerli,
The plugin work easily, without any settings to do. Just install and it work!
Such as you wrote, the plugin automatically remove ALL media permalinks, reconverting from:
https://www.teawea.com/caramel-apple-pie/capi-caramelsauce/
to:
https://www.teawea.com/wp-content/uploads/2018/02/CAPi-caramelsauce.jpg
If the plugin is active, all uploads (old and new) will have not the WP permalink but it keep only the file URL.
If the plugin is inactive, all uploads (old and new) will have again the permalink exactly as your structure is configured.
The plugin not work with Yoast SEO (or any other SEO plugin).
The function you mentioned “Redirect attachment URLs to the attachment itself” work only if my plugin is deactivated, because the redirect attachment system do this (example):
You have some attachment URLs in your sitemap.
Engine search index your permalinks and a visitor click on it.
If the media is attached to any post/page, the “redirect attachment” function will get the ID of this post, then get the permalink of the post, finally perform a redirect to bring user directly to the post, instead of media permalink.
This function is useful specially for the themes that are not optimized to have a custom template file to display properly the media file on a specific page.
I hope this could be helpful and answer to your question. 🙂
Plugin is installed and I see in the Media Manager that the Permalink field of the media is now empty.
But it is still working.
https://www.teawea.com/caramel-apple-pie/capi-caramelsauce/
I went to WP – Settings – Permalinks and changed to something else then what I had, saved it, then changed it back and saved again. (I read this will clear the cache, maybe just on posts)
Then I cleared the cache (WP Fastest Cache) on just that post, and still the Permalink for the media is still working.
Then I used “Clear All Cache” and still the redirect from the permalink is still working.
Now I cleared the Browser Cache and it works, I get the 404 Error. Always the browser cache 🙂 Thought I will post it as an update