WordPress.org

Support

Support » Multisite » Change uploads folder for a multisite install

Change uploads folder for a multisite install

  • Hi,
    If we go to site’s setting page http://domain.com/wp-admin/network/site-settings.php?id=5 we will see there is option to change upload path and upload url path. What is the difference when using this option and when modifying wp-config.php following this guide? Could you explain me?
    Thanks in advance,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Patrick Nommensen
    Multisite Master

    @instovo

    If you do it in the WP site settings then it’s specific for that site in the network. If you do it in wp-config.php it’s global — meant more for non-multisite websites.

    Per the codex, path vs url:

    ‘path’ – base directory or full path to upload directory.
    ‘url’ – absolute URL to upload directory.

    [path] => /path/to/wordpress/wp-content/uploads/
    [url] => http://example.com/wp-content/uploads/

    so if I change the setting for a specific site, I imagine that WP will create a new uploads folder for the site?

    If you do it in wp-config.php it’s global — meant more for non-multisite websites.

    Sorry, could you explain meant more for non-multisite website. I am not native English speaker so I may not understand the exact meaning

    The difference is that change on site-settings will ONLY change it for that one site on the network.

    Using the wp-config will change it for EVERYONE.

    I really really really would not do this on Multisite unless it’s some crazy legal requirement.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change uploads folder for a multisite install’ is closed to new replies.