Now images uploaded to mysite.com are still stored in mysite.com/new/wp-content/uploads/2024/ uploads folder instead of going to mysite.com/wp-content/uploads/2024 . In the image gallery of mysite.com, the newly uploaded images appear blank. I need to find the settings my root folder is using to save uploaded files
have checked the wp-config file but nothing there to suggest file upload path. Any suggestions please help
]]>So I have 2 servers (one test and one prod), plus my localhost. Both of these servers are supposedly configured the same, and they both use the Advanced Custom Fields plugin.
One of the fields is a text area with an “Add Media” button. When clicked, a user can select a previously uploaded picture or upload a new one, and the picture will print in the text area. This has suddenly stopped working for just 1 of my servers and only for Mac Users. The whole process works except for the picture printing in the text area.
I have tried on Chrome, Safari, Edge, and Firefox.
After debugging, it seems to be that the “media_send_to_editor()” function that I am manipulating has empty arguments. I have already tried adjusting the memory limits, but no picture will print on Macs! Has anyone faced this before?
Thanks!
]]>When we add media through WordPress it uploads the media, graphics, to, for example,
/wp-content/uploads/2019/05/filename.jpg
Is there some way to have ALL Media automatically uploaded to one folder?
to for example, /wp-content/uploads/filename.jpg
For us it’s actually confusing trying to find files based on the month & year when
we can simply look in on folder…
Thank you!
]]>I got into the blog today, updated WordPress and Jetpack, purchased a larger hosting package, updated everything but the theme and I am still getting the error.
I tried the first two fixes here:
https://www.hostinger.com/tutorials/fix-the-is-its-parent-directory-writable-by-the-server-wordpress-error
And here:
No luck. Any ideas?
]]>I created a new WP site in March 2021. Images I have uploaded are appearing in the articles and media gallery. The images work and link fine.
If I upload image(s) via drag & drop from the media/library/add new admin page, the images are put in the wrong folder uploads/2021/03. The images are supposed to be put in the folder uploads/2021/11
If I upload media via a page or a post by setting a featured image, it is uploaded to uploads/2021/11 which is correct.
I have verified that folder and file permissions are all set to 755 and media/setting “Organize my uploads into month and year based folders” is checked.
I disabled all of my plugins and activated the 2021 Theme and tried to drag and drop to the media library and the images were put in uploads/2021/03. Wrong
I even reinstalled WP Core 5.8.1 with no results.
Can you offer anything to help troubleshoot this problem? I know PHP and MySql and can try whatever you may be able to suggest.
[Let me know] if you need more information about my site.
]]>“2021-07MemberRoster.pdf
Sorry, this file type is not permitted for security reasons.”
WTF?
]]>I am uploading file named ‘formula sheet’ and its full name as ‘formula sheet.pdf’ with extension, when I am uploading this, woocommerce returns link like ‘formula-sheet-t5fhzw.pdf’
I don’t want these extra characters in my file name or link! How can I remove this?
]]>My question: since I am way over 10000 images in /wp-content/uploads , is there a plugin or a tool to move the images to “month- and year based folders”?
– I assume the DB can be searched for the media URL and then be changed
— maybe as a dryrun first and what it all would change first
— maybe you can select year by year
– could that have SEO related issues?
thank you
]]>The site settings are to save each upload to:
wp-content/blogs.dir/#/files
Instead, each media upload is calling sitename/files/year/month/filename
I changed my .htaccess file to the following line under #Uploaded Files, but the files continue to go to the wrong page.
What am I doing wrong? Do I need to restart something in WordPress or should the change take effect immediately?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /manage/
RewriteRule ^index\.php$ - [L]
#Uploaded Files
RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . /manage/index.php [L]
</IfModule>
Thank you for your help in advance.
Bruce