Why “Store uploads in this folder” option is not showing in Media Settings in WordPress

I have two sites running WordPress 4.9.8

On one site I can see “Store uploads in this folder” option on in Media Settings

enter image description here

On another site I cannot see “Store uploads in this folder” option in Media Settings

enter image description here

I am admin on both sites. Why it happens? How to make it visible on both sites? Thank you

3 Answers
3

While the other answers cover part of the answer (old WP install), it is important to note: The options appear, if one of the options is set. They are stored via the keys upload_path and upload_url_path.

Before:

enter image description here

Run (or add directly in the DB)

$ wp option set upload_path foo
$ wp option set upload_url_path bar

After:

enter image description here

As has been mentioned, these options are deprecated and shouldn’t be used anymore.

Leave a Comment