Title: [Plugin: Simple 301 Redirects] Deprecated code inside..
Last modified: August 20, 2016

---

# [Plugin: Simple 301 Redirects] Deprecated code inside..

 *  [pkiula](https://wordpress.org/support/users/pkiula/)
 * (@pkiula)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-301-redirects-deprecated-code-inside/)
 * This is a very useful plugin, and thanks for writing it.
 * However it’s filling up my debug.log with these messages:
 *  [11-Sep-2012 01:46:02 UTC] PHP Notice: get_settings is
    **deprecated** since
   version 2.1! Use get_option() instead. in /home/domain/public_html/wp-includes/
   functions.php on line 2638
 *  [11-Sep-2012 01:46:02 UTC] PHP Notice: Undefined index: HTTPS in
    /home/domain/
   public_html/wp-content/plugins/simple-301- redirects/wp-simple-301-redirects.
   php on line 143
 * Hope you can fix this in the next update.
 * Keep up the good work!
 * [http://wordpress.org/extend/plugins/simple-301-redirects/](http://wordpress.org/extend/plugins/simple-301-redirects/)

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

 *  Plugin Contributor [Scott Nelle](https://wordpress.org/support/users/scottnelle/)
 * (@scottnelle)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-simple-301-redirects-deprecated-code-inside/#post-3035225)
 * Noted for the next version. Thanks for pointing it out!
 *  [Arun Singh](https://wordpress.org/support/users/arun_singh/)
 * (@arun_singh)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-301-redirects-deprecated-code-inside/#post-3035260)
 * Hi scottnelle,
 * Thanks for the plugin, it saves lot of pain.
 * **For :** PHP Notice: Undefined index: HTTPS in
    /home/domain/public_html/wp-
   content/plugins/simple-301- redirects/wp-simple-301-redirects.php on line 143
 * Please update your line 143 with this:
 * `$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' :'
   http';`
 * It removes the error 🙂

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

The topic ‘[Plugin: Simple 301 Redirects] Deprecated code inside..’ is closed to
new replies.

 * ![](https://ps.w.org/simple-301-redirects/assets/icon-256x256.jpg?rev=2783827)
 * [Simple 301 Redirects By BetterLinks - Easy WordPress Redirect Manager for Redirects, 404 Error Log & More](https://wordpress.org/plugins/simple-301-redirects/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-301-redirects/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-301-redirects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-301-redirects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-301-redirects/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Arun Singh](https://wordpress.org/support/users/arun_singh/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-301-redirects-deprecated-code-inside/#post-3035260)
 * Status: not resolved