Hi can you check under Settings -> General and make sure the following fields have the correct URL.
WordPress Address (URL)
Site Address (URL)
Regards
Thanks for the quick reply.
The WordPress Address and Site Address URL are both set to the same value: https://www.example.com. This is the registered domain of my website and where I want people to access it. This domain has a registered SSL through Amazon. Like I mentioned previously, the site is secure when accessed through the links, but not when accessed through the URL.
Should I have my URL set to a different value? Thank you again for your help.
Thank you for reporting back. The plugin developers will investigate further your issue.
Thank you
This plugin adds directives in the .htaccess file to do the redirection. Does EC2 support .htaccess file?
That’s a really good question, thanks for bringing it up.
Before posting in this forum, I tried installing the “WP Force SSL” plugin both in conjunction and separately with your plugin. In both cases, that plugin caused the URL to redirect properly to the https version. However, after 2 minutes or so, the site crashed and I received a 503 connection error.
That test confirms that the website is setup to allow redirection, but I think something may be misconfigured in the plugin to prevent it from occurring. Does that information shed more light on the situation?
Thank you again for your help.
That other plugin you were using could be using a different method of redirection. They could be doing the redirection in PHP (which is more taxing on the server). This plugin does the redirection using htaccess which is better in my opinion but needs htaccess function to work on the server.
I think you might be right. I’ve tried a few other plugins, and it seems like they all perform redirection in PHP. PHP redirection crashes my website with a 503 error.
Redirecting in htaccess is smarter and what I like about this plugin. However, I still have the issue where the URL of my naked domain does not convert to https. Have you had any more insight into that problem?
Something I noticed about other plugins is they require a writable htconfig file – is that the case here as well? My htconfig file is not writable, which seems to be a problem for some https solutions.
Thanks for all your help so far. I look forward to your response.
This plugin just won’t work if htaccess doesn’t work on your server. So you will need to ask the hosting provider and get them to confirm if htaccess directives is used in their server or not.
Okay, I believe this clears up my question. Thanks for all your help!