• 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)
  • 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. Hope it will help you sure and let me know the feedback.
    Thanks
    Mohammad

    Thread Starter michaeltouchptcom

    (@michaeltouchptcom)

    Thank you @mdshak. I cannot login to even view my admin page.

    Why you can’t login? Because you get security warning? Just ignore it and continue.

    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; );
    update_option( ‘home’, ‘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

    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.