1

I changed url from http to https from WP Settings. After refreshing I can't access wp-login page. It says "site can't be reached"

My website link is :

https://jhonnathans.atwebpages.com/

Same question but i'm using awardspace.

2
  • 1
    You don't seem to have an SSL certificate installed. You have to do that first.
    – fuxia
    Commented Apr 6, 2020 at 2:19
  • The answer by @hk89 is correct. Two other things I'd be careful of, after changing my own sites from http to https is check how plugins have written links into your database. If you get an error message about your site being mixed content, a plugin may have written http://.... to the db rather than a relative link. Also, redirect (through apache or nginx) http to https so that visitors will be redirected appropriately. Commented Apr 6, 2020 at 3:04

1 Answer 1

1

If you've already made any of the changes above, you're not able to log into your dashboard. You can instead use phpMyAdmin to update the HOME and SITE URLs.

Follow This Steps :

1.Open phpMyAdmin. 2.Click your database in the left pane. Several tables appear below it. Click on your wp_options table.

enter image description here

3.Locate the 'siteurl' and 'home' rows. Click the pencil icon next to each to edit. enter image description here

4.Click the pencil icon next to each to edit

5.Alter the URL by typing in a new one

Your old url like https to http 6.Click the Go button to save the settings. Do this for both the 'siteurl' and 'home' options.

You should now be able to log into your site at http://yourdomain.com/wp-login.php.

You can change WordPress url like a http To https refer below link Link 1 , Link 2 , Link 3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.