In Settings > General, I change my site to be https://
and now when I go to /wp-admin
I get a 404 Not Found.
Is there a way I can revert this? I tried Googling but found nothing :(
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityYou cannot revert this. You will need to export your database via PhpMyAdmin and find all of the "HTTPS" instances and replace them with "HTTP". I would suggest using something like Dreamweaver or Notepad++ to 'find and replace all'. After you have done that, import your database again.
siteurl
which will point you at the table
wp_options
and says: 1 match in wp_options
. Do the same with home and the results will show also 1 match in wp_options
. Click both times, Browse and Edit, make the changes and save. Btw, Dreamweaver was also a joke I hope.
the best way is to login to your database, usually thru PHPmyadmin.
Go to your website's options table and edit the option_value for 'siteurl' and/or 'home' to the URL without https:// (just http://)
wp-config.php
,define( 'WP_SITEURL', 'http://yourdomain' );
anddefine( 'WP_HOME', 'http://yourdomain' );
, to see if you have at least access again to the back-end. No idea what you already did before that change or was it 'just' a start. (a try won't harm, and if it is not working you just delete those two lines)