
內容簡介
這個外掛可將你媒體庫中的檔案上傳至使用 Real Media Library 資料夾建立的自訂資料夾結構中。透過此外掛,你可以指定你的上傳內容儲存的位置,同時這也有助於提升網站的 SEO 效果。
例如,如果你在媒體庫中建立了一個名為 Products/ 的資料夾(使用 Real Media Library),你的上傳檔案將儲存於 wp-content/uploads/Products/,而不是像 wp-content/uploads/2020/03/ 這樣的位置。
這個外掛不會處理以下內容:
重新命名檔案時的重新導向(如果你或其他網站已經使用上傳的圖片,URL 變為無效且不會導向到新位置)
在 Real Media Library 中將檔案拖曳到另一個資料夾中(圖片的 URL 不會改變)
忽略 Real Media Library 資料夾結構匯入,檔案不會儲存到自訂上傳資料夾中
資料夾結構和檔案名稱的路徑限制為 255 個字元
不支援 WordPress 多站台
如果你想要建立一個完整功能的自訂檔案資料夾結構並使用 Real Media Library,你可以考慮安裝 Real Physical Media 擴充套件,它解決了所有先前提到的限制,效能穩定。
此外掛是 Real Media Library 的免費微型外掛,提供有限的支援。
外掛標籤
開發者團隊
② 後台搜尋「Physical Custom Upload Folder for Real Media Library」→ 直接安裝(推薦)
原文外掛簡介
Upload files in your media library to a custom folder structure on your file system created with Real Media Library folders. With this plugin you can determine where your uploads should be stored. This can also have some SEO benefits for your website.
For example, if you have created a folder named Products/ in your media library (using Real Media Library), your uploads will be stored in wp-content/uploads/Products/ instead of, for example, wp-content/uploads/2020/03/.
This plugin doesn’t care about the following:
Redirection when renaming files (if you or another website is already using an uploaded image, the URL becomes invalid without redirection to the new location)
Drag and drop files to another folder in the Real Media Library (the URL of the image does not change)
The import of a Real Media Library folder structure is ignored and the files are not saved in a custom upload folder
Limit of 255 characters for the path of a folder structure plus file name
No support for WordPress multi-sites
If you want a full-featured solution for a custom folder structure on your file system with Real Media Library, you should look at the Real Physical Media add-on. It has solved all of the above mentioned limitations, is performant and stable.
This plugin is a free micro add-on for Real Media Library with limited support.
