Shortening File URLs via MIME Type Processing Slug?
-
I am desperately searching for a solution to shorten URLs of media library files – without using external services or direct handling with rewrite rules. Only a few and bad WP Plugins exist for this.
I appreciate MLA as one of the few really good solution for a media library we have the right expect in a professional CMS.
So I come to the idea using MLA also for short file URLs:
Would it be possible to overwrite e.g. the .pdf MIME Type and set “pdf” as the slug and get the file via site.url/pdf/filnename.pdf (as an alternative to site.url/wp-content-directory/year/month/filename.pdf)? Further, may the author be able to insert that short URL when using the file insertion dialogue?
Thanks in advance for comments, hints, ideas.https://www.ads-software.com/plugins/media-library-assistant/
- The topic ‘Shortening File URLs via MIME Type Processing Slug?’ is closed to new replies.