Title: Https migrate Reauth and bug in general options
Last modified: February 28, 2017

---

# Https migrate Reauth and bug in general options

 *  [regme](https://wordpress.org/support/users/regme/)
 * (@regme)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/https-migrate-reauth-and-bug-in-general-options/)
 * Have the problem or the bag in migrating from http to https.
 * In general options I removed protocol mention, so home url became //site.com.
   
   Now I’m trying change it to [https://site.com](https://site.com) , but it is 
   unchangeable. I have checked in DB – it’s setuped to [https://site.com](https://site.com),
   but when I checked source code of sitepages it showed only //site.com
 * My main problem is in Reauth when enter my data in wp-login.php
    This is my wp-
   config.php
 * define(‘FORCE_SSL_LOGIN’, true);
    define(‘FORCE_SSL_ADMIN’, true); $_SERVER[‘
   HTTPS’]=’on’;//preventing loop error
 * define(‘WP_HOME’,’[https://site.com&#8217](https://site.com&#8217););
    define(‘
   WP_SITEURL’,’[https://site.com&#8217](https://site.com&#8217);); define(‘WP_DEBUG’,
   true); // no errors found

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 2 months ago](https://wordpress.org/support/topic/https-migrate-reauth-and-bug-in-general-options/#post-8857490)
 * if you have defines in wp-config.php, it will disable the options under settings-
   >general.
 * Once you change the URL to `https` you also need to change all the URLs in the
   database. Since you cannot login now, use this utility to search for `http://
   site.com` and replace with `https://site.com`. (No trailing slash!)
 * [https://interconnectit.com/products/search-and-replace-for-wordpress-databases/](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
 * Once you do that, your site should be all https all the time.

Viewing 1 replies (of 1 total)

The topic ‘Https migrate Reauth and bug in general options’ is closed to new replies.

## Tags

 * [reauth](https://wordpress.org/support/topic-tag/reauth/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/https-migrate-reauth-and-bug-in-general-options/#post-8857490)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
