i want to change media url for special formats automaticlly, How can i do it ?
for example :
(images) site.com/wp-content/uploads/2018/2/sample.jpg
(video) site.com/?vid=sample.mp4
实际上这是不可能的,因为媒体库的网址将使用wp_upload_dir网址自动生成,因此我们无法更改其中之一。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.