Hi Juppi yes you can.
Suppose that your real content folder is /wp-content2 and resides on the same level as /wp-content.
Then the uploadpath should be: ../wp-content2/uploads
Notice the two dots at the beginning. They take you to the root folder of the website.
Regards
Nickolas
Thanks for the quick response.
I was aware of this way of specifying relative parts. I tried two definitions for the path:
- using the subtitute of WP Hide for /wp-content/ in the form ../newcontent/uploads/
- using the subtitute of WP Hide for /wp-content/uploads/ in the form ../newuploads/
In both cases I was not able to select any file. The popup window opened and I could choose the file, but after closing the popup window the file did not show up in the field of the upload form.
After deactiving WP Hide the upload worked as expected. As I had not changed the rewritten upload path in the plugins settings section after deactivation WP Hide, the file was uploaded to /wp-content/uploads/.
Is it possible that the issue occurs because WP Hide is only changing the front-end paths and is not renaming the folders on the server?
Regards,
Juppi
Hi, the fact that you cannot select a file means that there is a problem in the upload form, probably due to an incompatibility with WP Hide. It doesn’t have to do with upload paths.
Can I see the page myself?
Regards
Nickolas
Ah okay.
Yes, you can see the page here: https://lehre.prochnow.eu/upload-wise-2020-21/
(password: *?76SeZJ2^ )
For the moment the upload form is restricted to *.jpg files.
Thanks for your help!
Juppi
I see lot of Javascript errors. Are you using any cache plugin which maybe does minification of Javascript?
Nickolas
Thanks for having a look on the page.
I do not use a cache plugin at the moment, but as the Problem only occured with WP Hide I took a closer look at the detailed settings of WP Hide. Actually WP Hide includes a minifying option, which was active.
After deactivating the option for minifying Javascript the plugin works as expected while all other functions of WP Hide. The upload path should use the original folder names (e.g. uploads/myfolder/). There is no need to change the path when activation WP Hide as it only changes the front-end appearance. Only as an additional information …
Many thanks again for your quick and helpful support!
Regards,
Juppi