media library is unaware of change
-
Hello dear author
I’m on WP 3.6, and all my uploads are on “files” (i have set it in wp-config.php).
Toaday, I created a “media” subdomain, then removed the newly created “media” directory (subdomain directory) and instead created a symbolic link named “media” pointing to “file” directory.Then i executed two sql queries to edit images urls in older post. I mean queries that shown in this article:
https://www.dezzain.com/wordpress-tutorials/how-to-move-wordpress-uploads-path-to-subdomain/Now, all mu old posts are ok and for example an artiles containing this image: https://mysite/files/2015/01/images.jpg now changed to https://media.mysite/2015/01/images.jpg
But in the last step, i couldn’t teach the new media url to media library!
I used both your plugin solution, and mentioned article method(directly modifying wp_options via PhpMyAdmin to change upload_path and upload_url_path) but had no success…I tested upload_path field with blank, “files”, and even absolute path of “files” directory, but it seems still media library is unaware about it. any guidance please?
https://www.ads-software.com/plugins/wp-original-media-path/
- The topic ‘media library is unaware of change’ is closed to new replies.