var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
any wp expert available here?
When i upload my images (media) then all files uploaded in /wp-content/uploads/ in directory.
How to change the default upload path /wp-content/uploads/ to /images/ ? Anyone share idea?
You have to edit the wp-config.php file to change default upload location.
- Web Hosting with DDoS Protection
█ Linux/Windows RDP VPS 13 Locations : UK
, US (5 states)
█ Italy, France, Germany,Netherlands, Switzerland, Rissia, Singapore | OpenVPN/PPTP Enabled
, Perfect Money
, CashU, paysafecard
I don;t see any coding for directory change in wp-config.php file
my wp version 3.7.1
You can see a line like
define( 'UPLOADS', 'wp-content/'.'files' );
There you can specify the location you want. In this case you can change it to images
I don't find this:
please download http://wordpress.org/latest.zip
and tell me which file with you have seen the line: define( 'UPLOADS', 'wp-content/'.'files' );
and tell me line number
You can add that line in wp-config.php it will work
So if i want to upload images to images directory then should i coding this?
define( 'UPLOADS', 'images/' );
this is correct?
If you want to upload to a folder called images under document root you can use this
define( 'UPLOADS', ''.'images' );
I am glad that you got it working
By OH-Bill in forum Employment / Job Offers
Last Post: 01-25-2011, 08:11 AM
By ZKuJoe in forum Shared Hosting Offers
Last Post: 01-18-2010, 12:26 AM
By vibe22 in forum Employment / Job Requests
Last Post: 05-08-2008, 09:31 AM
By mh3network in forum Employment / Job Offers
Last Post: 07-30-2007, 10:08 AM
By XTStrike in forum Employment / Job Offers
Last Post: 09-26-2002, 03:29 PM