12-12-2012, 02:08 PM
|
|
Too lazy to set a custom title
Join Date: Jan 2003
Location: Los Angeles
Posts: 10,550
|
Quote:
Originally Posted by fris
Thats one thing I didnt like that was taken out of the UI, I had a client who didnt want the traditional wp-content/uploads for images. he had /pics/filename.jpg etc.
To do this in wordpress 3.5 you can set a define for the constant UPLOADS, its not very well documented, and not used previously because it was set via options.
but add this to your wp-config.php and it will do it for you.
Code:
define(?UPLOADS?, ?wp-content/pics?); // for domain.com/wp-content/pics
define(?UPLOADS?, ?pics?); // for domain.com/pics
|
Useful tip 
|
|
|