1. Robert

    This helps IF the user types http://www.domain.com — it will take them to https://www.domain.com. However, if they just type domain.com, it still doesn’t route them. In my case, at least.

    1. phpyouth

      Hello Robert,

      First of all, thank you so much for giving an interest in my blog post.
      Secondly, you asked a good question, Let me explain.

      This blog post is related to the redirection of HTTP website to HTTPS one. Either your website URL is with WWW or without WWW, your website URL always have HTTP. Browers Address bar never saw you http in front of your domain(www.domain.com or domain.com) name until you have https.

      You have to update your DNS with both http://www.domain.com and domain.com

      Please follow us and let me know your feedback.


Leave a Reply

© 2020 PHPYouth Software Solutions Pvt. Ltd. All Rights Reserved. | Hosted By Godaddy | Security By Sucuri