View Single Post
Old 12-12-2012, 02:08 PM  
AmeliaG
Too lazy to set a custom title
 
AmeliaG's Avatar
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 10,550
Quote:
Originally Posted by fris View Post
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
__________________
GFY Hall of Famer

AltStar Hall of Famer




Blue Blood's SpookyCash.com

Babe photography portfolio
AmeliaG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote