WordPress.org

Ready to get started?Download WordPress

Forums

Change uploads folder for a multisite install (4 posts)

  1. 5ngua
    Member
    Posted 7 months ago #

    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,

  2. 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/
  3. 5ngua
    Member
    Posted 7 months ago #

    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

  4. 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.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.