For latest version of Wordpress you can add this code in wp-config.php. define('WP_PROXY_HOST', 'your.proxy.com'); define('WP_PROXY_PORT', '8080'); define('WP_PROXY_USERNAME', 'my_user_name'); define('WP_PROXY_PASSWORD', 'my_password'); define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com');