Title: Wrong HTTP/HTTPS protocol used for &#8220;Problems found&#8221; email
Last modified: December 13, 2019

---

# Wrong HTTP/HTTPS protocol used for “Problems found” email

 *  [spinfly](https://wordpress.org/support/users/spinfly/)
 * (@spinfly)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/)
 * Using WP 5.3.1 and WF 7.4.2, I am receiving “[Wordfence Alert] Problems found
   on …” emails containing links to my websites using the incorrect protocol. Links
   that should be HTTP are often listed with HTTPS:
 * > See the details of these scan results on your site at: [https://…/wp-admin/admin.php?page=WordfenceScan](https://…/wp-admin/admin.php?page=WordfenceScan)
 * There seems to be no pattern for which sites produce this bug or when it happens.
   Seems to be random.
 * With these emails coming in almost daily, it can be tedious manually correcting
   these links when accessing my sites to address the issues that Wordfence has 
   identified. Is this an easy fix?

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

 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/#post-12238406)
 * Hey [@spinfly](https://wordpress.org/support/users/spinfly/),
 * Do you have the protocols correctly defined your wp-config.php file?
 * `define( 'WP_SITEURL', 'http://example.com/wordpress' );`
 * [https://wordpress.org/support/article/editing-wp-config-php/#wp_siteurl](https://wordpress.org/support/article/editing-wp-config-php/#wp_siteurl)
 * Thanks,
 * Gerroald
 *  Thread Starter [spinfly](https://wordpress.org/support/users/spinfly/)
 * (@spinfly)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/#post-12238433)
 * No, but is that really necessary?
 * For all my sites, the WordPress Address (URL) and Site Address (URL) are correctly
   defined (with the correct protocols) on the WP settings pages:
 * /wp-admin/options-general.php
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/#post-12239478)
 * Hi [@spinfly](https://wordpress.org/support/users/spinfly/),
 * Wordfence keeps the `home` and `site` urls saved in its own database tables. 
   There’s a chance that when it initially saved these two values, it saved it with`
   https://` instead of `http://`.
 * Can you check if this is the case by running the following query?
 * `SELECT * from wp_wfconfig WHERE name="wp_site_url" OR name="wp_home_url";`
 * If indeed these rows begin with `https://` you can update these values by running:
 *     ```
       UPDATE wp_wfconfig SET val="http://your-site-url-here" WHERE name="wp_site_url";
       UPDATE wp_wfconfig SET val="http://your-home-url-here" WHERE name="wp_home_url";
       ```
   
 * Remember to change `http://your-site-url-here` and `http://your-home-url-here`.
 * Dave
 *  Thread Starter [spinfly](https://wordpress.org/support/users/spinfly/)
 * (@spinfly)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/#post-12240083)
 * That query returns 2 BLOBs, so I changed the query to this:
 * `SELECT *, CONVERT(val USING utf8) from wp_wfconfig WHERE name="wp_site_url" 
   OR name="wp_home_url";`
 * It indeed showed that http:// is saved for both values. Yet I am positive that
   some of my emails contained a link with https://
    -  This reply was modified 6 years, 5 months ago by [spinfly](https://wordpress.org/support/users/spinfly/).

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

The topic ‘Wrong HTTP/HTTPS protocol used for “Problems found” email’ is closed 
to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [spinfly](https://wordpress.org/support/users/spinfly/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/wrong-http-https-protocol-used-for-problems-found-email/#post-12240083)
 * Status: not resolved