Title: Plugin strips http(s) from the canonical URL
Last modified: August 30, 2016

---

# Plugin strips http(s) from the canonical URL

 *  [Evert](https://wordpress.org/support/users/meulie/)
 * (@meulie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/)
 * Hi,
 * I happened to notice that your plugin strips http(s) from the canonical URL.
   
   Example: [https://donateaday.net/](https://donateaday.net/) & [https://evert.meulie.net/](https://evert.meulie.net/)
 * The culprit seems to be the ‘HTTPS Protocol Rewriting’ option.
 * Whereas it’s normally finally to have a ‘//domain.com/blahblah/‘ URL, this does
   not apply to canonical URLs: [https://moz.com/community/q/can-i-leave-off-http-https-in-a-canonical-tag ](https://moz.com/community/q/can-i-leave-off-http-https-in-a-canonical-tag)
 * [https://wordpress.org/plugins/cloudflare/](https://wordpress.org/plugins/cloudflare/)

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

 *  Thread Starter [Evert](https://wordpress.org/support/users/meulie/)
 * (@meulie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511412)
 * FYI: I have deactivated HTTPS Protocol Rewriting on the 2 sites I mentioned as
   examples.
 *  [damoncloudflare](https://wordpress.org/support/users/damoncloudflare/)
 * (@damoncloudflare)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511420)
 * Please drop us a line to CloudFlare support so we can investigate and/or file
   a ticket with our developer.
 *  [Dima Stefantsov](https://wordpress.org/support/users/dima-stefantsov/)
 * (@dima-stefantsov)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511513)
 * Same happened to me. Had to discontinue using flexible https, can’t afford to
   have canonicals screwed up.
 * When cloudflare rewrite https is Off, site is acting weird anyway: first time
   I load front-end page from [https://](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/?output_format=md),
   it have everything including canonical link with “[https://&#8221](https://&#8221);,
   even though my site url is set to http.
 * Way too raw and brittle for a production usage, for my taste.
 *  [Brandon Hubbard](https://wordpress.org/support/users/bhubbard/)
 * (@bhubbard)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511571)
 * I am seeing the same issue, I remember this being fixed though. Found this original
   thread where it was fixed, maybe the fix broke with the last release?
 * [@dfritsch](https://wordpress.org/support/users/dfritsch/) — version 1.3.16
    
   [https://wordpress.org/support/topic/https-protocol-rewritting-not-for-canonical-urls?replies=11](https://wordpress.org/support/topic/https-protocol-rewritting-not-for-canonical-urls?replies=11)
 *  [themps](https://wordpress.org/support/users/themps/)
 * (@themps)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511644)
 * I’m wondering if this is related to the issues I was having until I disabled 
   https protocol rewriting. Password protected pages simply wouldn’t load. Would
   just go back to the password dialog box.
 *  [ArkonLabs](https://wordpress.org/support/users/arkonlabs/)
 * (@arkonlabs)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511646)
 * Is any work being done on this issue?
 * It doesn’t matter if I enable or disable the HTTPS rewriting option in the plugin
   settings, I always get a redirect loop error.
 * I’m trying to enable HTTPS for WooCommerce checkout pages. I enabled HTTPS for
   this via the WooCommerce settings.
 * It simply doesn’t work. As soon as I hit the checkout button on the shopping 
   cart, it’ll stall for about 10 seconds then give me the redirect loop error.

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

The topic ‘Plugin strips http(s) from the canonical URL’ is closed to new replies.

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

 * 6 replies
 * 6 participants
 * Last reply from: [ArkonLabs](https://wordpress.org/support/users/arkonlabs/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-strips-https-from-the-canonical-url/#post-6511646)
 * Status: not resolved