Title: https problem
Last modified: August 31, 2016

---

# https problem

 *  Resolved [tallinn007](https://wordpress.org/support/users/tallinn007/)
 * (@tallinn007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/https-problem-8/)
 * we recently upgraded our wordpress installation to https. but unfortunately now
   our direct links to files for download don’t work anymore.
 * example – [http://www.e-voting.cc/wp-content/plugins/download-monitor/download.php?id=249](http://www.e-voting.cc/wp-content/plugins/download-monitor/download.php?id=249)
   => gets redirected to an article.
 * if one enters [https://www.e-voting.cc/wp-content/plugins/download-monitor/download.php?id=249](https://www.e-voting.cc/wp-content/plugins/download-monitor/download.php?id=249)
   then it works.
 * can you help where our problem is with the config?
 * thx,
    robert
 * [https://wordpress.org/plugins/download-monitor/](https://wordpress.org/plugins/download-monitor/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [SVTX](https://wordpress.org/support/users/12ax7/)
 * (@12ax7)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/https-problem-8/#post-7268254)
 * You could…
 * Add the https protocol to upload_url_path in: /wp-admin/options.php
 * or
 * Update all links from http to https using a MYSQL query.
    (Backups first, follow
   a confirmed tutorial if you’ve never done it.)
 * And then add this to your htaccess file:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{HTTPS} !=on
       RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
       </IfModule>
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * This sends all traffic to https on your site. If you have SSL you should make
   use of it, the search engines like it and it’s safer for everyone, inluding yourself.
 * If you go down this road, add this to your wp-config.php file:
    define(‘FORCE_SSL_ADMIN’,
   true); (Right above the “That’s all…” part)
 * Hope that helps.
 *  Plugin Contributor [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * (@barrykooij)
 * [10 years ago](https://wordpress.org/support/topic/https-problem-8/#post-7268579)
 * Hey tallinn007,
 * This is due the files are linked in your database to **http**. You can try to
   search and replace the entries in your database with a plugin like [https://nl.wordpress.org/plugins/search-and-replace/](https://nl.wordpress.org/plugins/search-and-replace/)
 * I’m marking this as resolved as it’s not directly related to Download Monitor.
   Good luck with finishing moving to https.
 * Kind Regards,
 * Barry Kooij

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘https problem’ is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 2 replies
 * 3 participants
 * Last reply from: [Barry Kooij](https://wordpress.org/support/users/barrykooij/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/https-problem-8/#post-7268579)
 * Status: resolved