Forums

[resolved] Sort /uploads by year but not month? (5 posts)

  1. ryanve
    Member
    Posted 1 year ago #

    In WP settings there is the checkbox to sort the /uploads folder by year and month. Is there a way to make it sort only by year (w/o creating the separate folders for each month)?

  2. ryanve
    Member
    Posted 1 year ago #

    I'm still trying to figure out if there is a way to do this. So far the only thing I've came up with is to uncheck the option in Settings ยป Media and then change the upload folder at the beginning of each year.

    I think it's annoying when it's sorted by month because sometimes you forget when exactly you uploaded something. The web index is sortable by date modified anyway, but I wonder, is there a performance advantage to using the year/month folders?

  3. ryanve
    Member
    Posted 1 year ago #

    Changing the uploads folder messed up the image URL for the [gallery] images.

  4. is there a performance advantage to using the year/month folders

    Yes. Some hosts (GoDaddy) limit how many files you can have in a folder. Also indexing a smaller number of files takes less time.

  5. ryanve
    Member
    Posted 1 year ago #

    Thanks - I guess I'm going to have to leave year/month sorting option on, although I do like to push the limits ;) I imagine there is an Apache setting into the thousands.

Topic Closed

This topic has been closed to new replies.

About this Topic