HTTPS(SSL) Blocks WordPress Admin Access
When a WordPress blog configures an SSL certificate to enable HTTPS, there is a certain probability that the following issues may arise:
- Website CSS styling is disorganized
- Incorrect display of image URLs
- Unable to access the website admin dashboard
wp-config.php
file to solve these issues. Here's how:
1. Go to the root directory of your WordPress site and open the wp-config.php
file in an editor.

** @package WordPress */

$_SERVER['HTTPS'] = 'on'; define('FORCE_SSL_LOGIN', true); define('FORCE_SSL_ADMIN', true);4. After completing the above steps, visit the admin dashboard of your website. In the General Settings page, change both the "WordPress Address (URL)" and "Site Address (URL)" from http to https, and save the changes.

- Some images or attachments still use HTTP URLs.
- The website references some external resources over HTTP.

Comments
Post a Comment