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
On another site I cannot see "Store uploads in this folder" option in Media Settings
I am admin on both sites. Why it happens? How to make it visible on both sites? Thank you
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
On another site I cannot see "Store uploads in this folder" option in Media Settings
I am admin on both sites. Why it happens? How to make it visible on both sites? Thank you
Share Improve this question asked Dec 8, 2018 at 12:22 Boris ZinchenkoBoris Zinchenko 1231 silver badge5 bronze badges3 Answers
Reset to default 3While 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:
Run (or add directly in the DB)
$ wp option set upload_path foo
$ wp option set upload_url_path bar
After:
As has been mentioned, these options are deprecated and shouldn't be used anymore.
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.