Title: WordPress Site Not Secure
Last modified: March 24, 2017

---

# WordPress Site Not Secure

 *  [michaeltouchptcom](https://wordpress.org/support/users/michaeltouchptcom/)
 * (@michaeltouchptcom)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-not-secure/)
 * Under General Settings, I accidentally changed the website address from http://
   to https:// and now my website says it is not secure. I don’t know how to revert
   this. Thank you.

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

 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-8952828)
 * Hi,
    1- Please go to Admin > Settings > General > Site URL. Here you can change
   the site url easily. Just refer this article [https://codex.wordpress.org/Changing_The_Site_URL](https://codex.wordpress.org/Changing_The_Site_URL).
   Hope it will help you sure and let me know the feedback. Thanks Mohammad
 *  Thread Starter [michaeltouchptcom](https://wordpress.org/support/users/michaeltouchptcom/)
 * (@michaeltouchptcom)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-8953031)
 * Thank you [@mdshak](https://wordpress.org/support/users/mdshak/). I cannot login
   to even view my admin page.
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-8953161)
 * Why you can’t login? Because you get security warning? Just ignore it and continue.
 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-8953346)
 * Hi,
 * If you have access to the site via FTP, then this method will help you quickly
   get a site back up and running, if you changed those values incorrectly.
 * 1. FTP to the site, and get a copy of the active theme’s functions.php file. 
   You’re going to edit it in a simple text editor and upload it back to the site.
 * 2. Add these two lines to the file, immediately after the initial “<?php” line.
 * update_option( ‘siteurl’, ‘[http://example.com&#8217](http://example.com&#8217););
   
   update_option( ‘home’, ‘[http://example.com&#8217](http://example.com&#8217););
 * Use your own URL instead of example.com, obviously.
 * 3. Upload the file back to your site, in the same location. FileZilla offers 
   a handy “edit file” function to do all of the above rapidly; if you can use that,
   do so.
 * 4. Load the login or admin page a couple of times. The site should come back 
   up.
 * `Important! Do not leave those lines in the functions.php file. Remove them after
   the site is up and running again.`
 * Thanks
    Mohammad
 *  [samarj7](https://wordpress.org/support/users/samarj7/)
 * (@samarj7)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-9245292)
 * Hi, I am having the same issue as the original poster.
    How can I change website
   address in wordpress admin? I do not have access to ADMIN because the we browser
   are giving me security warming and not taking me to my admin panel. Please help.

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

The topic ‘WordPress Site Not Secure’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [samarj7](https://wordpress.org/support/users/samarj7/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-site-not-secure/#post-9245292)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
