[Resolved] Setting Default Media Library Location

Home Forums Support Setting Default Media Library Location

  • This topic has 3 replies, 2 voices, and was last updated 12 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1150017

    Hi all,

    I know this is not a question specifically linked to GeneratePress, but my web search hasn’t yielded anything that I’m 100% sure to try, and I don’t want to break the theme.

    Basically I’d like to set the default media library location to be:


    Instead of what it is defaulting to:


    There are already images in the default location, so I was going to just cut and paste them in FileZilla to a new location, but after reading some posts apparently this can break the WordPress database. Apparently it is possible to edit the config.php directly, but I wanted to ask if there is a custom snippet I could use so as I don’t potentially cause issues?

    Many thanks for your help.


    Customer Support

    Hi there,

    simple part is disabling: Organize my uploads into month- and year-based folders in Settings > Media for all future uploads.

    Then i am not sure of the best route – some data in the WP database is serialized so simple search and replace may fix broken URLs. And it won’t pick up on external files requesting the images.

    How many images are there ? If its an early build and you only have a few may be simpler to rename and reupload the originals and swap them out across the site.


    Thanks David. I’ve made those changes to settings. I previously attempted to import images from a Weebly export. I’ve deleted them and added again, so hopefully that will do the trick.

    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.