• I am using a single wordpress instance with different uploads directories based on each domain (Multi Tenancy Not Multisite). So I have the structure like this
    – wp-content
    — uploads
    — site1
    — site2

    The issue is that the plugin generates the Build folder in the wp-content folder but it should be in uploads folder so it will be separate for every website. In the plugin where there is line for the WP-CONTENT Dir I have changed it to wp_uploads_dir()[basedir] in this way it creates the folder in subsite uploads folder but it takes alot of time and there is some cache issue too. Not sure if I need to adjust your plugin code some other places too. Can in the next update this change included so that instead of wp-content folder it generates the build in the uploads folder.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter zafar_pk88

    (@zafar_pk88)

    I haver changed these two lines

    $this->build_dir = wp_upload_dir()[‘basedir’] . $pathname;
    $this->build_url = wp_upload_dir()[‘baseurl’] . $pathname;

Viewing 1 replies (of 1 total)
  • The topic ‘Uploads should be compiling directory’ is closed to new replies.