Title: Changed HTTP to HTTPS and not I cannot access my site
Last modified: August 30, 2016

---

# Changed HTTP to HTTPS and not I cannot access my site

 *  Resolved [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/)
 * Hello! I just installed this plugin.
 * On the dashboard it said: “You are not requiring a secure connection for accessing
   the dashboard.”
 * I clicked fix and checked the box. Now when I go to login to my site it gives
   a 404 error… PLEASE HELP!
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

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

 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721180)
 * Please help! *Bump*
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721182)
 * Please? Anyone know what is going on? I had a friend recommend that I delete 
   the plugin from my file manager – I am still having this issue!
 * A 404 screen pops up after I get an error that says the sites certificate is 
   invalid and prompts me to either enter safe mode or bypass the security prompt.
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721183)
 * @UNhappymix
 * Would you be able to log into the database using phpMyAdmin ?
 * We can disable the iTSec plugin SSL setting in the database and everything will
   be back to normal.
 * dwinden
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721185)
 * @UNdwinden
 * Yes, I can.
    What do I need to do in order to make everything go back to normal
   from phpMyAdmin?
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721191)
 * @UNhappymix
 * First edit your wp-config.php file.
    Remove the FORCE_SSL_ADMIN line which is
   probably added by the plugin.
 * Then log into your database using phpMyAdmin and execute the following SQL command:
 * >  select * from wp_options where option_name = ‘itsec_ssl’;
 * Please note I’m assuming your database tables prefix is wp_.
    If not change it
   accordingly.
 * Copy\paste the serialized string displayed in the option_value column into this
   topic.
    I need to know the current value for the final step.
 * dwinden
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721196)
 * @UNdwinden
 * When I edited the wp-config.php file I was able to login, do I still need to 
   do step 2?
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721202)
 * [@happymix](https://wordpress.org/support/users/happymix/)
 * Yes. It’s best to keep things in sync.
    Don’t worry, it’s not that complicated.
 * dwinden
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721209)
 * [@dwinden](https://wordpress.org/support/users/dwinden/)
 * Hmm, I have no knowledge of how to enter SQL commands. Let me google a bit.
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721216)
 * [@happymix](https://wordpress.org/support/users/happymix/)
 * Ok. Once logged into phpMyAdmin first click on the wp_options table in the left
   pane where a list of database tables is showed.
 * Then just click on the SQL tab (on the top of the screen).
    Now copy\paste the
   sql command from my earlier post in this topic, into the white box displayed (
   overwriting\replacing the default select SQL statement). You may need to change
   the wp_ prefix in the wp_options part…
 * Finally click on the Start button in the lower right corner of the screen.
    This
   will execute the SQL statement. Note it is a simple select SQL statement, so 
   it doesn’t change anything.
 * Copy\paste the serialized string displayed in the option_value column into this
   topic.
 * dwinden
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721248)
 * I’m having some issues with phpMyAdmin, nothing is loading for me. I’m contacting
   my host to see if they can resolve it.
 * Thank you!
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721302)
 * [@happymix](https://wordpress.org/support/users/happymix/)
 * I just realized there may be another and easier way to achieve the same thing.
 * Simply log into WP Dashboard.
    Then goto the Security->Settings menu option. 
   Select section **Secure Socket Layers (SSL)** from the **Go to** drop down select
   box at the top.
 * Notice that even though you manually removed the FORCE_SSL_ADMIN line from the
   wp-config.php the **Force SSL for Dashboard** checkbox is still enabled…
 * If at this point you would click on the **Save All Settings** button because 
   you changed some other iTSec plugin setting(s) the FORCE_SSL_ADMIN line would
   also be reapplied to your wp-config.php file… and the problem would return.
 * To prevent this from happening (and keeping things in sync) UNtick the **Force
   SSL for Dashboard** checkbox and then click on the **Save All Changes** button.
 * That should hopefully do it. No need to mock around in the database.
    If that
   works indeed please mark this topic as ‘resolved’.
 * dwinden
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721446)
 * [@happymix](https://wordpress.org/support/users/happymix/)
 * Still happy ?
 * If so please mark the topic as ‘resolved’ so I can join your mix 😉
 * dwinden
 *  Thread Starter [happymix](https://wordpress.org/support/users/happymix/)
 * (@happymix)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721513)
 * [@dwinden](https://wordpress.org/support/users/dwinden/) – So sorry for the delayed
   response, I was busy having a baby… haha. 🙂
    No, but seriously.
 * Anyways –
    I think I have screwed this plugin up royally. When I try to reinstall
   it I get the following error: “Warning: Cannot modify header information – headers
   already sent by (output started at /home/…/public_html/wp-includes/rewrite.php:
   1) in /home/…/public_html/wp-includes/pluggable.php on line 1207”
 * Any ideas?
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721514)
 * [@happymix](https://wordpress.org/support/users/happymix/)
 * Never mind. Only wanted to hear whether your previous issue was solved and have
   this topic marked as ‘resolved’.
    And now we are suddenly having a baby … phew
   This must be the weirdest post everrrrr …;-)
 * Anyway –
 * Read [this](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F).
 * And mark this topic as ‘resolved’ …
 * dwinden
 *  [George wp-website-mastery](https://wordpress.org/support/users/lernerconsult/)
 * (@lernerconsult)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721515)
 * [@happymix](https://wordpress.org/support/users/happymix/): The problem is rewrite.
   php reported some error, not iThemes Security or your Google Maps plugin.
 * Check your server error log, or try what I wrote on [Debugging WordPress Problems](http://computerhelp.glerner.com/2014-debugging-wordpress-problems-for-only-you/)
   (
   how to show detailed error messages to only the IP addresses you specify, nobody
   else)
 * Or have your hosting company, or someone from your local WordPress Meetup look
   at it, or you can [contact me](https://wordpress.org/www.glerner.com/contact.php?output_format=md).
 * You can’t fix this without knowing what the actual error message is.
 * But your iThemes Security problem is fixed, so mark this resolved.

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

The topic ‘Changed HTTP to HTTPS and not I cannot access my site’ is closed to new
replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

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

 * 15 replies
 * 3 participants
 * Last reply from: [George wp-website-mastery](https://wordpress.org/support/users/lernerconsult/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/changed-http-to-https-and-not-i-cannot-access-my-site/#post-6721515)
 * Status: resolved