Title: [Plugin: WordPress HTTPS (SSL)] CURLOPT_FOLLOWLOCATION  &amp; Safe mode
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] CURLOPT_FOLLOWLOCATION & Safe mode

 *  [whaus](https://wordpress.org/support/users/whaus/)
 * (@whaus)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-curlopt_followlocation-safe-mode/)
 * hi!
 * thanks a lot for your plugin!
    I just updated to the new version (2.0.1) and 
   now noticed in my log:
 * `HP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode
   is enabled or an open_basedir is set in [...]/wp-content/plugins/wordpress-https/
   wordpress-https.php on line 533`
 * I’m not sure if that was there before the update.
    Can you implement a check 
   that only sets CURLOPT_FOLLOWLOCATION to true when safemode is off?
 * thx
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-curlopt_followlocation-safe-mode/#post-2416597)
 * Hey whaus,
 * Actually, PHP’s [safe mode](http://php.net/manual/en/features.safe-mode.php) 
   is deprecated and shouldn’t be used. I know you’re probably using a host that
   uses it, but I just thought I’d point that out.
 * I’ll make it so that the warning is suppressed so that it won’t generate an error
   in the error log.
 * Thanks,
    Mike

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress HTTPS (SSL)] CURLOPT_FOLLOWLOCATION & Safe mode’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mvied](https://wordpress.org/support/users/mvied/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-curlopt_followlocation-safe-mode/#post-2416597)
 * Status: not resolved