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!
-
Please help! *Bump*
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.
@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
@UNdwinden
Yes, I can.
What do I need to do in order to make everything go back to normal from phpMyAdmin?@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
@UNdwinden
When I edited the wp-config.php file I was able to login, do I still need to do step 2?
Hmm, I have no knowledge of how to enter SQL commands. Let me google a bit.
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
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!
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 – 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?
@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
(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.
You can’t fix this without knowing what the actual error message is.
But your iThemes Security problem is fixed, so mark this resolved.
- The topic ‘Changed HTTP to HTTPS and not I cannot access my site’ is closed to new replies.