Title: Does not work with HTTPS
Last modified: August 22, 2016

---

# Does not work with HTTPS

 *  [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * (@computerinfo21)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/does-not-work-with-https-3/)
 * I have HTTPS turned on for my registration page and the captcha image is not 
   loaded over HTTPS so it warns users about insecure content.
 * I fixed it by changing line 33 in cartpauj-register-captcha.php from:
    `$plugin_url
   = WP_PLUGIN_URL.'/cartpauj-register-captcha/';` To: `$plugin_url = plugin_dir_url(
   __FILE__ );`
 * This is the recommended way to get the plugin directory, as specified here [http://codex.wordpress.org/Determining_Plugin_and_Content_Directories](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
 * Not sure if this is how you prefer to fix it or not, but it would be nice if 
   it was fixed would load securely for those who have HTTPS turned on.
    Thanks 
   for a great plugin!
 * [https://wordpress.org/plugins/cartpauj-register-captcha/](https://wordpress.org/plugins/cartpauj-register-captcha/)

The topic ‘Does not work with HTTPS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cartpauj-register-captcha_255ba6.
   svg)
 * [Cartpauj Register Captcha](https://wordpress.org/plugins/cartpauj-register-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cartpauj-register-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cartpauj-register-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/cartpauj-register-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cartpauj-register-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cartpauj-register-captcha/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [computerinfo21](https://wordpress.org/support/users/computerinfo21/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/does-not-work-with-https-3/)
 * Status: not resolved