Title: Domain reverting from https to http at the DB automatically
Last modified: December 17, 2019

---

# Domain reverting from https to http at the DB automatically

 *  [diegpl](https://wordpress.org/support/users/diegpl/)
 * (@diegpl)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/domain-reverting-from-https-to-http-at-the-db-automatically/)
 * Hi, when I set https to the website domains at /wp-admin/network/sites.php they
   are reverting back to http automatically at the DB after a while. Do you know
   what could it be?
    I have this set at my config-wp.php, could might be that? `
   define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );` Thank you! 😉

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

 *  [a2hostingrj](https://wordpress.org/support/users/a2hostingrj/)
 * (@a2hostingrj)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/domain-reverting-from-https-to-http-at-the-db-automatically/#post-12248499)
 * > they are reverting back to http automatically at the DB after a while.
 * Alright, for that to happen you have to change it directly in the database or
   the WordPress settings. Are you setting https correctly?
 *  Thread Starter [diegpl](https://wordpress.org/support/users/diegpl/)
 * (@diegpl)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/domain-reverting-from-https-to-http-at-the-db-automatically/#post-12250885)
 * I believe so. I am setting it at wp-admin/network/site-info.php?id=1436 screen,
   for example, and defining https full at CloudFlare. The https works alright. 
   Any idea why could that be happening? Tks! 😉

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

The topic ‘Domain reverting from https to http at the DB automatically’ is closed
to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [diegpl](https://wordpress.org/support/users/diegpl/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/domain-reverting-from-https-to-http-at-the-db-automatically/#post-12250885)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
