Cant login to my wp-admin after switching to SSL

前端 未结 6 1250
耶瑟儿~
耶瑟儿~ 2020-12-29 13:54

I recently installed SSL certificate for my wordpress site(http to https) and now I\'m unable to access Wordpress Admin. It refreshes the page and I am not logged in.

<
6条回答
  •  不知归路
    2020-12-29 14:58

    You need to change the site url in wp-admin->Settings->General. Except now you need to go in through phpMyAdmin and do it manually in the wp_options table since you are locked out.

    You get different cookies depending on http/https so you are getting the https cookie and then being redirected to http that has no cookie because of your Wordpress settings that say what url the site resides at.

提交回复
热议问题