I have a WordPress site at https://example.com/blog/. When I open this URL, it works fine. However, when I try to open the site without the trailing slash (https://example.com/blog), it first redirects to http and then to https.
I have added HTTPS redirect code to the .htaccess file and the wp-config.php file. I also used the Force SSL plugin to try to resolve this issue, but none of these solutions have helped.
New contributor
Anil Chauhan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.