• Resolved Adrian Kentleton

    (@adriankit)


    Help! In Settings > Media, deselecting/unticking ‘Organise my uploads into month- and year-based folders’ never works. After ‘Save Changes’, it always re-appears as selected/ticked.

    I have only just set up the site, and it has limited content; from some pages, I have only have some successfully linked .pdf files, manually uploaded to a non-standard folder. I have no files in my media library; I am using Magnus theme v2.4.

    Any insights into what might be preventing this deselection, please? With thanks.

    PS I could use year-based folders, but not month-based ones; complete overkill for the limited uploads that my site will have.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried switching to a default WordPress theme and seeing if the unchecking then works?

    Thread Starter Adrian Kentleton

    (@adriankit)

    Thanks, Jamie, tried that, but it didn’t work.

    Have installed a fresh instance of Worpress 4.8.2-en_GB. On first opening wp-admin GUI, went to media settings, unchecked ‘Organise …’, hit ‘Save’, told settings saved, but ‘Organise …’ rechecked!

    Running this on Apache 2.4.9, MySQL 5.5.27, PHP 5.4.28 on Win 8.1 64-bit.

    So, nothing I’ve done. But why doesn’t it work out-of-the-box?

    Thread Starter Adrian Kentleton

    (@adriankit)

    Not so much a solution, more a workaround!

    I got what I wanted, my uploads in year folders under wp-content, by editing two files:

    a. wp-config.php, adding (before ABSPATH lines)
    define('UPLOADS', 'wp-content');

    b. wp-includes\functions.php (line 2001)
    $subdir = "/$y"; ie removing /$m from that line

    It’s always a bit of a pain if you have to acheive what you want through editing files, rather than through the GUI, since there’s always a risk of losing customisations through updates/upgrades.

    However, I always make a note of the files edited, comment the edits with my name (makes them easy to find later), and save a copy of the files with an .ak extension (so they’ll still be there if the originals are overwritten).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deselecting ‘Organise Uploads … Month- and Year-based Folders’’ is closed to new replies.