• Resolved juppi91

    (@juppi91)


    Hey there,

    I encountered an issue using the plugin in combination with WP Hide Plugin. If WP Hide is enabled no uploads are possible. If WP Hide is disabled the plugin works fine.

    WP Hide does rewrite the pathname of /wp-content/ to something else and does the same with /wp-content/uploads/ using another “word”. I would like to place the uploaded files in a subfolder of /wp-content/uploads/. Is there any way to tell the plugin not to use /wp-content/ as root directory and to use another one with rewritten name instead?

    I would be glad, if you can help me with this.

    Kind regards,
    Juppi

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nickboss

    (@nickboss)

    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

    Thread Starter juppi91

    (@juppi91)

    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

    Plugin Author nickboss

    (@nickboss)

    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

    Thread Starter juppi91

    (@juppi91)

    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

    Plugin Author nickboss

    (@nickboss)

    I see lot of Javascript errors. Are you using any cache plugin which maybe does minification of Javascript?

    Nickolas

    Thread Starter juppi91

    (@juppi91)

    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

    Plugin Author nickboss

    (@nickboss)

    Ok nice.

    Regards

    Nickolas

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin not working in combination with WP Hide’ is closed to new replies.