• Resolved yellowpeach

    (@yellowpeach)


    Our client uses the Pro version of your plugin and have recently moved their website hosting to WP VIP.

    The folder structure is different on their platform compared to vanilla WP, meaning only the ‘wp-uploads’ and ‘tmp’ folders can be written to – essentially meaning your plugin doesn’t work as it prevents the importwp directory being created.

    Do you have any suggestions on how we can modify the import directory (other than modify the plugin code directly), or does the plugin not cater for WP VIP?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ImportWP

    (@jcollings)

    Hello,

    I have never come across wp vip before, but i am happy to try and help resolve this issue.

    The importer in a default WordPress environment uses the WP_CONTENT_URL and WP_CONTENT_DIR constants to create two folders within the uploads directory “wp-content/uploads/importwp” and “wp-content/uploads/exportwp”.

    I presume moving away from those constants and instead using the wp_upload_dir method along with the baseurl and basedir keys will work with WP VIP custom structure?

    To allow me to send you a test development build of this plugin with these changes in place can you please create a ticket https://helpdesk.importwp.com/ , as i am unable to attach files here.

    Thanks

    James

    Plugin Author ImportWP

    (@jcollings)

    These changes have been released in v2.13.0.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter to change upload directory’ is closed to new replies.