最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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 badges
Add a comment  | 

3 Answers 3

Reset to default 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:

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.

发布评论

评论列表(0)

  1. 暂无评论