Title: Proxy support
Last modified: June 9, 2023

---

# Proxy support

 *  Resolved [kcho](https://wordpress.org/support/users/kcho/)
 * (@kcho)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/proxy-suuport/)
 * Hi, is there anyone who has experience using this plugin with a WordPress installed
   on a hosting that needs to use a proxy for connections with curl?
   Thanks!
    -  This topic was modified 2 years, 10 months ago by [kcho](https://wordpress.org/support/users/kcho/).

Viewing 1 replies (of 1 total)

 *  [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * (@humayonk)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/proxy-suuport/#post-16809618)
 * Hello [@kcho](https://wordpress.org/support/users/kcho/)
 * Greetings for the day.
 * Yes, there are people who have experience using the WordPress Download Manager
   plugin with a WordPress installation that requires the use of a proxy for connections
   with **cURL**. The plugin itself doesn’t have built-in proxy support, but you
   can configure the proxy settings in WordPress to enable cURL to use a proxy.
 * To set up a proxy for **cURL **in WordPress, you can define the proxy settings
   in your **wp-config.php** file, which is located in the root directory of your
   WordPress installation. Here’s how you can do it:
    1. Connect to your hosting account using FTP or a file manager provided by your
       hosting provider.
    2. Locate the **wp-config.php** file in the root directory of your WordPress installation.
    3. Download a copy of the wp-config.php file to your local computer as a backup.
    4. Open the **wp-config.php** file using a text editor.
    5. Add the following lines of code to the file, just before the “/* That’s all,
       stop editing! Happy blogging. */” line:
 *     ```wp-block-code
       define('WP_PROXY_HOST', 'your_proxy_host');
       define('WP_PROXY_PORT', 'your_proxy_port');
       define('WP_PROXY_USERNAME', 'your_proxy_username');
       define('WP_PROXY_PASSWORD', 'your_proxy_password');
       ```
   
 * Replace the values ‘your_proxy_host’, ‘your_proxy_port’, ‘your_proxy_username’,
   and ‘your_proxy_password’ with the appropriate values for your proxy server. 
   If your proxy server doesn’t require authentication, you can omit the last two
   lines.
 * 6. Save the changes to the wp-config.php file and upload it back to the root 
   directory of your WordPress installation, replacing the existing file.
 * Once you have set up the proxy settings in the **wp-config.php** file, **cURL**
   in WordPress should automatically use the specified proxy for outbound connections.
   This should apply to any plugins, including the WordPress Download Manager plugin,
   that use **cURL **for making network requests.
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘Proxy support’ is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [proxy](https://wordpress.org/support/topic-tag/proxy/)
 * [timeout](https://wordpress.org/support/topic-tag/timeout/)

 * 1 reply
 * 2 participants
 * Last reply from: [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/proxy-suuport/#post-16809618)
 * Status: resolved