• Resolved zsbwiersma

    (@zsbwiersma)


    Hello,

    Let me first say that I love this plugin. It solved many problems for me for several months, and I have nothing but great things to say about it. Unfortunately, I had to update my website recently, and since then, I have had issues that I hope you can resolve.

    I host my WordPress site through Amazon EC2. The other day, I changed my IP address to an Elastic IP. This changed my WordPress URL from “https://ec2…amazon…” to “https://www.example.com”. Since then, the HTTPS-Redirection plugin has worked differently. All of my links within my website still redirect to HTTPS, including my menus and images. However, entering “www.example.com” in the URL does NOT redirect to “https://www.example.com”.

    I have tried disabling the plugin and disabling the settings individually, but this has not worked. Do you know how I can redirect my traffic from http to https like I did previously? That was the main feature of this plugin that I really enjoyed and I would love to keep using it. Thank you very much for your help.

    Cheers,
    Zach

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi can you check under Settings -> General and make sure the following fields have the correct URL.

    WordPress Address (URL)
    Site Address (URL)

    Regards

    Thread Starter zsbwiersma

    (@zsbwiersma)

    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.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reporting back. The plugin developers will investigate further your issue.

    Thank you

    Plugin Author mra13

    (@mra13)

    This plugin adds directives in the .htaccess file to do the redirection. Does EC2 support .htaccess file?

    Thread Starter zsbwiersma

    (@zsbwiersma)

    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.

    Plugin Author mra13

    (@mra13)

    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.

    Thread Starter zsbwiersma

    (@zsbwiersma)

    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.

    Plugin Author mra13

    (@mra13)

    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.

    Thread Starter zsbwiersma

    (@zsbwiersma)

    Okay, I believe this clears up my question. Thanks for all your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘URL not redirecting to https with elastic IP’ is closed to new replies.