Title: HTTPS for WordPress
Last modified: August 31, 2016

---

# HTTPS for WordPress

 *  [a1exus](https://wordpress.org/support/users/a1exus/)
 * (@a1exus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-for-wordpress/)
 * I’m trying to make my blog, a secure blog and I’m failing somewhere after “Implementing
   HTTPS for WordPress” step from following guide:
 * [WordPress › HTTPS for WordPress – Support Everything WordPress](https://make.wordpress.org/support/user-manual/web-publishing/https-for-wordpress/#implementing-https-for-wordpress)
 * via browser, whenever I try _http_ it redirects me to _https_ and when I try 
   _https_ it redirects me back to _http_ (causing infinite loop).
 * I even went back and revert changes _home_ and _siteurl_, yet still in this infinite
   loop(
 *     ```
       [alexus@j ~/alexus.org/wordpress]$ wp db query "SELECT * FROM wp_options WHERE option_name='home';"
       +-----------+-------------+-------------------+----------+
       | option_id | option_name | option_value      | autoload |
       +-----------+-------------+-------------------+----------+
       |        37 | home        | http://alexus.org | yes      |
       +-----------+-------------+-------------------+----------+
       [alexus@j ~/alexus.org/wordpress]$ wp db query "SELECT * FROM wp_options WHERE option_name='siteurl';"
       +-----------+-------------+-------------------+----------+
       | option_id | option_name | option_value      | autoload |
       +-----------+-------------+-------------------+----------+
       |         1 | siteurl     | http://alexus.org | yes      |
       +-----------+-------------+-------------------+----------+
       [alexus@j ~/alexus.org/wordpress]$
       ```
   
 * ‘elp plz!)

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-for-wordpress/#post-6987114)
 * `siteurl` and `home` need to be set to HTTPS.
 * If that’s still looping, what is the content of your .htaccess file?
 *  Thread Starter [a1exus](https://wordpress.org/support/users/a1exus/)
 * (@a1exus)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-for-wordpress/#post-6987180)
 * first of all, thank you for replying)
 * i reset both siteurl and home back to NON-HTTPS and loop was happening..
 * I then was able to pinpoint some of that weird behavior to certain plugin (better-
   wp-security), as soon as I disable plugin, no infinite loop..
 * [WordPress › Support » This webpage has a redirect loop – ERR_TOO_MANY_REDIRECTS](https://wordpress.org/support/topic/this-webpage-has-a-redirect-loop-err_too_many_redirects-1?replies=1#post-7937442)
 * and on top of all that, even after i deactivated that plugin, i now cannot switch
   site back to http instead of https, even though after i update url site remains
   in https…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/https-for-wordpress/#post-6987192)
 * Check your wp-config.php file and theme functions.php files and make sure you
   aren’t also doing [https://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php](https://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php)
   or [https://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php](https://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php)

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

The topic ‘HTTPS for WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/https-for-wordpress/#post-6987192)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
