Cant login to my wp-admin after switching to SSL

前端 未结 6 1248
耶瑟儿~
耶瑟儿~ 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:56

    It is possible to set the site URL manually in the wp-config.php file.

    Add these two lines to your wp-config.php, where "example.com" is the correct location of your site.

    define('WP_HOME','https://example.com');
    define('WP_SITEURL','https://example.com');
    

    For more refer here

    or check in table wp_options column option_name = siteurl check the option_value

提交回复
热议问题