Symlink to wp-uploads deleted when deleting previous exports
-
We have exactly the same problem as @bastiiaann24.
We have almost the same setup (bedrock/sage) and use a symlink to our wp-uploads.
When we deleted old exports in wp-all admin the symlink was replaced by a freshly made wp-uploads folder.
Steps that we’ve taken to reproduce:
– Go to the wp-admin panel of the website
– Navigate to WP All Export -> Manage Exports
– Select all 25 exports in the list, bulk action delete
– NOTE: It did not work when deleting only one import that was there! So it might have to be many and are couple to multiple different import types?
– Confirm deletion
– SSH to our server and navigate to our source directory
– Check if the symlink to our uploads folder isremovedreplaced by a wp-uploads folder , this is the case.What we think is that the deletion of many files triggers wordpress in checking if the wp-uploads still exist. It does not see the symlink as “Exists==TRUE” and creates the folder like it is a newly installed WordPress.
So I have these questions:
0) Did @bastiiaann24 fix this? I can not ask in the original thread since that one is locked.
1) Why does wp-all-export trigger this check when deleting its own stuff?
2) If it is WordPress doing it, where could I start searching if I can add symbolic link to pass as a correct wp-uploads folderThe page I need help with: [log in to see the link]
- The topic ‘Symlink to wp-uploads deleted when deleting previous exports’ is closed to new replies.