Go into your WordPress Dashboard > Settings > Media and then untick the option that says
Organize my folders into Month and Year based folders
This will make it look like:
Then to take it further you need to update you config.php file and add in either this line:
define( 'UPLOADS', 'image/'.'files' );
This will give you:
Or this:
define( 'UPLOADS', ''.'files' );
…to get:
Related Posts:
- Programmatically get images by URL and save in uploads folder
- media_sideload_image with rewritten urls?
- How to get image URL from media_sideload_image?
- How to replace post image url before posting using api?
- Setting name of attachment URL
- Function to get URL of original uploaded image – full size
- how to get original image using wp_get_attachment_image_src
- wp_get_attachment_image_src and server path
- How to find attachment by it’s name?
- How do I delete all generated images from my server except those currently used in posts
- Theme Customiser Image Control
- How can I hide media library images from general users?
- Get attachment ID of author_meta image – Attachment Metadata
- Associate an existing image with a post
- Programatically creating image attachments from local URLs and setting featured image
- Preview Image Path in Admin Section
- How do i upload an image and return the image id?
- Get Attachment ID from URL [duplicate]
- How to remove title attribute from gallery links and images
- Get an image from url in front end submission form
- Open the attachment details modal
- How to upload image without post ID using the new media uploader?
- How do I delete thousands of unattached images?
- Why would image paths in wordpress suddenly change?
- Applying class to links around self hosted images embedded to posts/pages
- Regex to turn embedded images in to attachments
- Re-process Images
- Show prev and next post links for parent post of current image in attachment page?
- Pulling Post Image Attachments in WordPress 3.9
- Link Featured Thumb to Attachment Page, If Possible
- How do i reference the theme path in pages for images?
- Regenerate missing _wp_attachment_metadata
- @wordpress/create-block image url in css
- Image still linked as attachment to page even though it has been deleted
- Broken urls with http site and https wp-admin
- Change code to display image attachment page
- Why can I not view image attachment pages?
- Add a new data attribute in tag
- Link to full size image or attachment page in photo theme
- add the post as canonical for attachment page wordpress
- Update image links in database
- Get the bare URL for an attachment
- Add an attribute to attachments
- Multiple images in one attachment page
- WordPress adds extra width to post images container boxes
- Handling image uploads without thickbox
- Pull images from the gallery
- Customizing the attachement page to show rest of all images in a gallery from post
- images not showing after transfer
- Images attached to posts from library link to 404 error page
- Help to upload post attachments from Ajax
- Change media URL (images)
- Rewrite all article pictures to link to file
- wp get attachment image always gives me thumbnail
- Call to undefined function wp_generate_attachment_metadata()
- How do you import images from a URL in your post?
- Retrieve Image Attachments Getting Post Thumbnail Image First
- One picture belonging different galleries?
- Clicks registering on Preview DNS site
- Using a .pdf file as a page in wordpress
- WordPress Attachments with old images
- How to test if there are no more previous or next image on attachment page?
- Show last 12 uploaded images on home page, but only from posts
- Exclude image url from search query
- Redirect Image Url to a page via htaccess
- How to pass on a value as parameter via url to another page
- Random Characters in the end of every image url in post
- Output posts attached images as thumbnails linked to full-size with lightbox class
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- How to change an image source when rendering on frontend?
- Hide or mask the url to an image
- Custom image size not displaying with wp_get_attachment_image()
- i want to change URL of WordPress image or rewrite in runtime
- attachment_fields_to_save first parameter is null
- How to show a full page when someone links directly to an image on my site
- How to disable post-thumbnail from generation?
- How to Make Only Images Connected to a Post Show? Not Entire Media Collection?
- Bypass wp_safe_remote_get()?
- Get “Image CSS Class” value from the Advanced Options section
- Which tools should I use for a gallery that uses an API and url for the path of the images?
- Uploaded images not showing properly using wordpress
- List sub pages with custom field content converting image ID to URL
- After I upload a file to library its name converted to dashes
- attachment.php & flexslider—linking thumbnail to specific image
- Surround uploaded image link with div
- Extract url from next_image_link
- Lots of attachments is causing slow load
- Protocol relative url not pulling up images on IE, FF, and OPERA
- Show title when inserting single images
- Broken image URL
- How do I mitigate the forward slash problem for URLs of images after a WP migration?
- greater flexibility in targeting images attached to page
- Images in sub-pages fail to load
- Stop Attachment image names from taking top level permalink
- How to access & display images from a post without textual content ( and vice versa) according to best wordpress practices
- Are image addresses security relevant?
- Remote Image (from URL) as Media Library element
- WPALLIMPORT Exporting images from repeater field [closed]
- How can I use an image from an external source without uploading it to the media library
- Remove one srcset entry from wp_get_attachment_image