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

Uploads going to the root of wp-contentuploads

programmeradmin1浏览0评论

I have an on-again, off-again client that I just did a Wordpress/plugins/theme update for. When I opened the uploads folder, I noticed that there is one year folder from 2014 and then all the images are at the root level of the uploads folder. I have checked the following for code that would control the upload.

  1. functions.php
  2. .htaccess
  3. wp-config.php
  4. Plugin list

I have not found anything that would indicate code that would by-pass the WordPress core function. What else should I check?

I have an on-again, off-again client that I just did a Wordpress/plugins/theme update for. When I opened the uploads folder, I noticed that there is one year folder from 2014 and then all the images are at the root level of the uploads folder. I have checked the following for code that would control the upload.

  1. functions.php
  2. .htaccess
  3. wp-config.php
  4. Plugin list

I have not found anything that would indicate code that would by-pass the WordPress core function. What else should I check?

Share Improve this question asked Jul 10, 2019 at 0:20 Nora McDougall-CollinsNora McDougall-Collins 3952 silver badges15 bronze badges 2
  • 1 Are those uploads available in the media library? Are you sure this was done by code or a plugin? Could this just be user error? – ngearing Commented Jul 10, 2019 at 6:31
  • Yes, the uploads are available in the Media Library. I did an upload to test that. My upload went to the root level of /wp-content/uploads. There are other recent uploads from this year. The site is owned by a membership, volunteer group, which explains their on-again-off-again status. I can't see the person who is doing content management having enough knowledge to by-pass the default WordPress core function. – Nora McDougall-Collins Commented Jul 10, 2019 at 15:56
Add a comment  | 

1 Answer 1

Reset to default 1

What else to check?

First, deactivate all plugins and switch to a different theme. Then test uploads. If its fixed reactivate plugins/theme one at a time until you find the culprit.

Next, you can check the database options table to see if the upload_path or upload_url_path have been altered, they should be blank.

Then, you would have to start checking the WP core files. Try reinstalling. If that doesn't work.

Nuke the whole thing and walk away... Or just leave it, if its still functions fine.

发布评论

评论列表(0)

  1. 暂无评论