Title: Webhooks doesnt send data if I choose &#8220;always use https(301 redirect)&#8221;
Last modified: March 26, 2018

---

# Webhooks doesnt send data if I choose “always use https(301 redirect)”

 *  Resolved [fixingmywp](https://wordpress.org/support/users/fixingmywp/)
 * (@fixingmywp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/)
 * I use Bulletproof security , a payment gateway plugin which has webhooks data
   sending and cloudflare.
    When I choose “always use https 301 redirect” on cloudflare.
   The payment gateway’s webhooks doesnt send data to my desired mysite.com/data
   url. What would cause this?
 * If its non-https then the data is sending. But a 301 https redirect it causes
   fail for getting data from the payment gateway.

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10116211)
 * My guess would be the problem is either your WordPress site address/URL settings
   on the WordPress Settings > General page (WordPress Address (URL) and Site Address(
   URL)) need to be changed to https or you need to add/use SSL/HTTPS htaccess code
   > [https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233](https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233)
   or you need to flush/clear/delete any old plugin cache and flush/delete/clear
   any old Cloudflare cache or this is some kind of bug with the Cloudflare “always
   use https 301 redirect” option setting.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10116217)
 * Another possible problem could be that your SSL Certificate has some kind of 
   problem.
 *  Thread Starter [fixingmywp](https://wordpress.org/support/users/fixingmywp/)
 * (@fixingmywp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10118443)
 * – SSL Certificate is the free one on Cloudlfare Free Package: A Universal Shared
   SSL
 * – Forgot to mention that: Before I upgraded my hosting to a higher package it
   was working great. And this problem is just happened right after the upgrade (
   only the server IP has changed). The hosting company isnt helpful for this problem.
   What would cause this after the upgrade?
 * – I will try your above suggestions.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10120321)
 * What does “upgrade” mean. Did you only upgrade to a higher hosting plan? ie “
   basic” to “ultimate”? Did you literally change servers? Did you change your PHP
   server version? etc.
 *  Thread Starter [fixingmywp](https://wordpress.org/support/users/fixingmywp/)
 * (@fixingmywp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10121342)
 * – From shared hosting to managed vps (actually still shared but with less sites
   but with more resources (dedicated)): However they dont allow me to change on
   root level.
 * – Nothing changed on php version
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10121364)
 * Ok so that would mean that you are on a new server with a new/different PHP server
   build/installation/compile. It is possible that something is “off” with your 
   new PHP server. The quick and simple way to check that is to switch your PHP 
   server version. Check your web host help pages for specific instructions for 
   your particular host on how to switch your PHP server version. Typically this
   only takes about 5-10 minutes to do.
 *  Thread Starter [fixingmywp](https://wordpress.org/support/users/fixingmywp/)
 * (@fixingmywp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10133452)
 * Tried to look at php settings but they are all same.
 * One possible cause would be : A new SSL from my hosting company has been activated
   automatically.
    So do you think it would conflict with cloudflare?
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10134386)
 * Are you using the Cloudflare Page Rule correctly? It appears that this is a sitewide
   rule that forces all http URI’s to https URI’s and not just one specific URI/
   URL.
 * Maybe adding SSL/HTTPS htaccess redirect code will help/work > [https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233](https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233)
   or maybe Cloudflare has some htaccess code that you need to add to BPS Root Custom
   Code?
 * Cloudflare help page reference: [https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-](https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-)
 * Your Cloudflare Page Rule should be either:`http://*example.com/*` or `http://
   example.com/*` going by the example on the Cloudflare Page Rule help link above.
    -  This reply was modified 8 years, 2 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10150588)
 * Is this issue resolved? Do you need any additional assistance?
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10162534)
 * Assuming all questions have been answered – the thread has been resolved. If 
   the issue/problem is not resolved or you have additional questions about this
   specific thread topic then you can post them at any time. We still receive email
   notifications when threads have been resolved.

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

The topic ‘Webhooks doesnt send data if I choose “always use https(301 redirect)”’
is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/webhooks-doesnt-send-data-if-i-choose-always-use-https301-redirect/#post-10162534)
 * Status: resolved