Question

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

Was it helpful?

Solution

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.

OTHER TIPS

IIRC the option was softly deprecated sometime in the past, but if you have an old install it will still be indicated that it should be displayed and let the user edit it.

The second site is probably newer

(answering the question literally, if you need to be able to change it and can not find the relevant option, just say so in the comments)

I think that the second site is running on a newer WordPress version, rather than 4.9.8. That's why, you are not seeing the "Store uploads in this folder" option in Media Settings. However, you are seeing it in the first site, as it is running on 4.9.8.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top