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
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Programmatically adding images to media library
- Function to get URL of original uploaded image – full size
- how to get original image using wp_get_attachment_image_src
- Can I attach image to post without adding it to post?
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- How to reference a theme image in a stylesheet?
- wp_get_attachment_image_src and server path
- How to find attachment by it’s name?
- Mixed content warnings after changing site adress from HTTP to HTTPS
- How do I delete all generated images from my server except those currently used in posts
- Insert an image into a post by API
- Function to call the attachment image from post
- 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
- Separate attachment images from post loop
- How to display a shortcode caption somewhere other than the_content
- copy attachment title to description and alt text
- 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?
- Allowing post attachments without allowing to insert in text
- Why would image paths in wordpress suddenly change?
- Applying class to links around self hosted images embedded to posts/pages
- Change default URL of image attachment
- Rename attachments during upload
- 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
- Remove the http protocol from images
- 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
- Make alt text required when setting a featured image
- Image still linked as attachment to page even though it has been deleted
- Display one random image, but only if landscape
- get_attachment_id() only get id of first attached image after post update
- WordPress url image redirect to the homepage
- Broken urls with http site and https wp-admin
- Change code to display image attachment page
- Why can I not view image attachment pages?
- A way to change image urls in post to cdn image url?
- Is there a way to get attachment data?
- Add a new data attribute in tag
- Custom page template to display all image attachments
- Link to full size image or attachment page in photo theme
- get the image of the post
- add the post as canonical for attachment page wordpress
- Update image links in database
- Shortcode for a link and thumbnail
- Get the bare URL for an attachment
- Add an attribute to attachments
- Out of memory error reporting
- How can I attach hotlinked images in posts/pages within the same server?
- Multiple images in one attachment page
- WordPress Image Attachment using remote image
- Exclude images from “inserted into post” when trying to get attachments
- 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
- How to add an image to a custom url?
- Auto delete attachments that are older than x days
- images not showing after transfer
- Images attached to posts from library link to 404 error page
- Help to upload post attachments from Ajax
- Replacing the content of an image attachment using API
- Change media URL (images)
- Rewrite all article pictures to link to file
- Does wp_get_attachment_image_src also work with non-image files?
- 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?
- How to redirect homepage to actual URL?
- Get images attached to a specific page
- Retrieve Image Attachments Getting Post Thumbnail Image First
- WordPress Creates Unused (Unregistered) Image Sizes
- One picture belonging different galleries?
- Clicks registering on Preview DNS site
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- 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