• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Mailchimp Training & Consulting

  • Home
  • Services
    • Mailchimp Training – 1-on-1
    • Mailchimp Training – Group
    • Mailchimp Consulting
  • Free Tools
    • Mailchimp Tutorials on YouTube
    • Subject Line Generator
    • Marketing Ideas Generator
    • Map Maker for Email
    • WhatsApp Click to Chat Generator
    • Avoid Email Going to Spam
    • Email Link Generator
    • Is Mailchimp Down?
    • Marketing Facts and Stats
  • Content
    • Blog
    • Videos
  • Contact & About
    • Contact
    • About

Fix WordPress Images Saving to Wrong Date

Why WordPress uploads images to the wrong directoryThe image on this post has the file location https://organicweb.com.au/wp-content/uploads/2010/10/wordpress-300x300.png. I however uploaded the image to my WordPress website in September 2016. Also, when uploading files I’ve selected the Organise my uploads into month- and year-based folders option by going to Settings then Media from my WordPress dashboard. So why has WordPress saved the image to the October 2010 directory when the image was uploaded in September 2016?

What occurs in WordPress is that the image is uploaded to the directory reflecting the date of the post and not when the image was uploaded. In my example above I uploaded the image when editing a post published in 2010 and therefore the image has been saved in the 2010 directory on the server.

Oddly enough this is actually a feature rather than a bug.  WordPress is designed to save images to the directory date of the post rather than the dates of when the image was updated.

Found this useful? Please share:

Related

  • How to host Font Awesome in WordPress (Fixed)
  • How to Auto-Resize an Image in Mailchimp
  • How to get Mailchimp Subscriber Popup working in WordPress

Filed Under: WordPress

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

How to add an editable attachment to a Mailchimp campaign.

How to add, and send, coupon codes in Mailchimp.

Reader Interactions

Comments

  1. carnethy says

    April 14, 2017 at 6:15 pm

    What a STUPID ‘feature’! Like many of the odd decisions by the makers of WP. Take this example. I wanted to re-use an image to save re-uploading it. Using the inspector in the browser I could see the url of the image – a folder dated Dec 2015. Going to the Media library and calling up that month, no image. The image is in the folder as I confirmed by FTP. After hours of faffing I found that Media library is showing the image in May 2016, for the reasons you outline above. And it’s no use trying WP’s own search.
    So thanks WP. More time wasted by your perverse approach to ‘useability’!

    Reply
  2. Tingette says

    September 14, 2017 at 4:08 am

    Thanks for this, it cleared the issue up! I schedule my posts many months later so that they don’t accidentally publish before I’m done!

    Reply
  3. Mark says

    September 27, 2017 at 5:29 pm

    I’m with carnethy, what a Lame “feature”. It’s causing me a lot of grief here.

    Reply
  4. Amit Kumar Das says

    October 2, 2018 at 1:17 am

    I have an issue in my custom theme. Direct media library upload saving in wrong month date folder (2017/03) when current date is 2018/09. But when I upload images through post it goes to the correct folder.

    I have tested in default theme working fine. So the issue is in my custom theme. But I am not sure where to look at. Help is much appreciated.

    Thanks in advance.

    Reply

Leave a Reply Cancel reply

You are here: Home / WordPress / Fix WordPress Images Saving to Wrong Date

Primary Sidebar

Mailchimp write about my work

Read on Mailchimp.com

Learn from a Mailchimp Pro Partner

Signup to receive info about Gary's Mailchimp beginner and advanced classes.

Sign up

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer Rating

Mailchimp Pro Partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

Contact Gary.

Copyright © 2022 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service