Title: Force HTTPS
Last modified: August 24, 2016

---

# Force HTTPS

 *  [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/)
 * I know this question must be asked a thousand times a day but i have had no way
   that work. Most of the time, like changing the link in the general settings or
   the WordPress HTTPS (SSL) plugin, i get locked out of my dashboard or i get stuck
   in a never ending redirect loop. If you can, please allow the solution to work
   with CloudFlare. Thanks.

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/force-https-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/force-https-3/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998497)
 * Well, first of all, don’t use the plugin. It’s a last resort.
 * Since CloudFlare is a reverse proxy, try this: [https://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy](https://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy)
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998501)
 * okay i did that and now when i go to my dashboard i get this: [http://prntscr.com/6rt9lj](http://prntscr.com/6rt9lj)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998504)
 * Were you normally able to get to your Dashboard *before* that change?
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998505)
 * Yes
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998507)
 * Hm, and did you disable the HTTPS plugin?
 * Can you give us a link to your site?
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998508)
 * I had to reset my entire website and i never reinstalled the HTTPS plugin, but
   the link to the website is pavelow.net
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998509)
 * Are you using a plugin to hide or relocate your admin?
 * If you undo the SSL change, are you able to log in?
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998510)
 * No plugin that changes anything to do with the admin area, and when i remove 
   the SSL code i am able to access the dashboard again.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998513)
 * Your Dashboard no longer returns a 404?
 * 1. What do you have the two URLs at Settings -> General to?
 * 2. Try again with just this: [https://codex.wordpress.org/Administration_Over_SSL#To_Force_SSL_Logins_and_SSL_Admin_Access](https://codex.wordpress.org/Administration_Over_SSL#To_Force_SSL_Logins_and_SSL_Admin_Access)
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998514)
 * They are set to “[http://www.pavelow.net&#8221](http://www.pavelow.net&#8221);
   and i’d rather not change them to https because the last 10 times i did that 
   i get to reinstall wordpress and my webhoster doesn’t like that.
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998515)
 * And is there a certain spot in the wp-config i am supposed to put the code at?
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998516)
 * Putting just the
    `define('FORCE_SSL_ADMIN', true);` in the config causing me
   to go in a redirect loop, and adding `define(‘FORCE_SSL_ADMIN’, true); if ($_SERVER[‘
   HTTP_X_FORWARDED_PROTO’] == ‘https’) $_SERVER[‘HTTPS’]=’on’;` does the same as
   before.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998517)
 * Any improvement if you set both URLs to `http://pavelow.net/` (remove the www.)?
 *  Thread Starter [silverpavelow](https://wordpress.org/support/users/silverpavelow/)
 * (@silverpavelow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998518)
 * i will try but if i get locked out, is there an easy way to just change these
   back?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/force-https-3/#post-5998519)
 * Relatively easy, yes: [https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/force-https-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/force-https-3/page/2/?output_format=md)

The topic ‘Force HTTPS’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
