admin管理员组文章数量:1130349
I'm migrating an old WP site that supported Swedish letters ÅÄÖ in the URL, thus the site has hundrets of images containing these letters. I've searched around and found various plugins that sanitize all new uploaded media, but how could I go through all the old media and fix their media entries a long with their links on various pages?
Currently the files are also still also using their original filenames. I'm thinking some combination of a renaming command over SSH and some SQL commands on the database maybe?
I'm migrating an old WP site that supported Swedish letters ÅÄÖ in the URL, thus the site has hundrets of images containing these letters. I've searched around and found various plugins that sanitize all new uploaded media, but how could I go through all the old media and fix their media entries a long with their links on various pages?
Currently the files are also still also using their original filenames. I'm thinking some combination of a renaming command over SSH and some SQL commands on the database maybe?
Share Improve this question asked Nov 20, 2018 at 11:21 jsmarsjsmars 1014 bronze badges1 Answer
Reset to default 0just a guess: maybe a thumbnail regenerator plugin will work in combination your sanitize plugin.
like this regenerate-thumbnails or this force-regenerate-thumbnails
I'm migrating an old WP site that supported Swedish letters ÅÄÖ in the URL, thus the site has hundrets of images containing these letters. I've searched around and found various plugins that sanitize all new uploaded media, but how could I go through all the old media and fix their media entries a long with their links on various pages?
Currently the files are also still also using their original filenames. I'm thinking some combination of a renaming command over SSH and some SQL commands on the database maybe?
I'm migrating an old WP site that supported Swedish letters ÅÄÖ in the URL, thus the site has hundrets of images containing these letters. I've searched around and found various plugins that sanitize all new uploaded media, but how could I go through all the old media and fix their media entries a long with their links on various pages?
Currently the files are also still also using their original filenames. I'm thinking some combination of a renaming command over SSH and some SQL commands on the database maybe?
Share Improve this question asked Nov 20, 2018 at 11:21 jsmarsjsmars 1014 bronze badges1 Answer
Reset to default 0just a guess: maybe a thumbnail regenerator plugin will work in combination your sanitize plugin.
like this regenerate-thumbnails or this force-regenerate-thumbnails
本文标签: uploadsSanitizing existing media library paths and page links from foreign characters
版权声明:本文标题:uploads - Sanitizing existing media library paths and page links from foreign characters 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749166626a2326291.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论