[wp-hackers] Customize Uploads directory?

Otto otto at ottodestruct.com
Thu Jun 4 22:59:59 UTC 2015


Generally speaking, you should not change the uploads directory. The
user-facing settings were removed because users were constantly changing
them incorrectly, and thus, instantly breaking their uploads because they
don't understand how web hosting works.

But if you do know what you're doing, then you can edit them directly in
the database. The options are still there and still used, there's just no
easy interface to change them. They're in the options table,
named upload_path and upload_url_path.

There is also the hidden /wp-admin/options.php screen where you can edit
all the options directly. Be careful with that one.

-Otto



On Thu, Jun 4, 2015 at 5:37 PM, Stephen Rider <wp-hackers at striderweb.com>
wrote:

> Hi —
>
> There used to be a simple setting within the Admin to change the uploads
> directory, but it’s gone in current versions of WP.  So how are we supposed
> to do this, officially?
>
> I see that there’s a constant that can be set, but that method appears to
> be frowned upon by TPtB.
>
> --
> Stephen Rider
>
> wp-hackers at striderweb.com
> http://striderweb.com/nerdaphernalia
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list