When I upload images in Wordpress I get:
http://test.net/wp-content/uploads/2011/04/test_image.jpg
however I would like it like this:
http://test.net/wp-content/uploads/test_image.jpg
See how the date isn't in the URL on the 2nd one? Anyways, is that possible? To remove the date stamp from the Image URL?
From the WordPress DashboardGo to the Admin Dashboard > Settings > General. Look for the Date Format section, then select “Custom Format”. Erase everything there. Save Changes to erase the date.
You can remove the date from WordPress posts using the WordPress theme editor. To do so, navigate to Appearance > Theme Editor from your WordPress dashboard. Under the Template-parts folder, select the template file, mostly named content. php, and remove the date code.
Workaround is to create a post with the same date as the folder you want to upload the image to. Then upload the image from within that post. WP will put it in the matching year/month folder.
Log into your WP admin, and go to Settings > Media
and make sure the "Organize my files into month- and year-based folders" option is not checked.
On the same settings page, you can change the default upload folder altogether.
Hope this helps !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With