- Newest
- Most votes
- Most comments
Hello.
It appears that the CSS is not loading properly.
Please check Chrome's developer tools to see what errors you are seeing.
Also check the Apache access log and error log.
Apache access logs and error logs are located in the directory "/var/log/httpd/".
Is there an ALB in front of EC2?
In this case, it is possible that the DNS name of EC2 is referenced when loading CSS from WordPress, so try changing it to the correct website domain by following the instructions in the following document.
https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/hosting-wordpress-aml-2023.html#wordpress-troubleshooting-2023
What error do you receive when you cannot log in on the wp-admin
page? You may want to try an alternative guide on how to launch a WordPress website with Amazon EC2.
Since you are able to update database as per Wordpress website not launching properly to fix content loading issue, you can also reset your password in the database.
Refer to Rest your password. If I recall correctly, there is a wp_users table, and if you set user_pass to empty string, it means blank password.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 months ago
Hello, Thank you for your answer.
I checked Chrome's developer tools and found that "Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS."
I finally realized the problem so that I refered "https://repost.aws/questions/QU-8uvqBoyRFKT8HZjnuLt3A/wordpress-website-not-launching-properly" this question. And I change the option_value in 'home', 'siteurl', "http://" -> "https://". However, I cannot login to both "http://{domain name}/wp-admin" and "https://{domain name}/wp-admin"
What should I do?
++++ I also follow the linke "https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/hosting-wordpress-aml-2023.html#wordpress-troubleshooting-2023". but still I can't go to "wp-admin" page.