We help IT Professionals succeed at work.

Wordpress Media Organization Problems

Computer Guy
Computer Guy asked

I am creating a WordPress site for myself. For the "main content" images such as slider or social media icons, I don't like the uploaded files URL and was looking for some different options.

When I view the source it is "wp-content/uploads/2015/01/fb.png"

Is there a way to upload it so it can be like this "wp-content/images/social-media-icons/" or "wp-content/images/slider-images/" because I don't need the date on social media icons or the content images.
Watch Question

Don't talk to me.
There's all kinds of tutorials out there for this.  WP Beginner has a pretty comprehensive one:


Essentially you have to add a line to the wp-config.php file and also turn off date-based archives in Settings | Media. However, these instructions will only add files to the base folder defined in the steps above.  If you want to subdivide things the way you indicate in your question, you have to write a lot of extra function hooks and do some manual organizing.

In your wp-admin, go to Settings > Media and uncheck the "Organize my uploads into month- and year-based folders".

Any images you've already added will not change the url / location, but all new ones added will not have the date in it.


Do you think it is Ok to have my uploads folder here. domain.com/images
Jason C. LevineDon't talk to me.

Nothing wrong with it in theory.

In practice, this is a pretty good way to discover who makes assumptions about where the WordPress upload folder is and who uses the system variables correctly to write paths.  I can see a lesser-skilled plugin/theme writer making the first mistake.