http to https rewriting...

How can i do it?

Comments

  • @SkyCityCZ said:
    How can i do it?

    Create a file called .htaccess in your /htdocs folder and put this in it:

    RewriteEngine on
    RewriteCond %{HTTPS} !on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  • So SSL is now enabled for free hosting accounts?

  • @TheCrafters said:

    @SkyCityCZ said:
    How can i do it?

    Create a file called .htaccess in your /htdocs folder and put this in it:

    RewriteEngine on
    RewriteCond %{HTTPS} !on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    I did everythiing but now i cant access my website it says
    This site can’t provide a secure connectionbuyaffordablepcs.ezyro.com sent an invalid response.
    Try running Windows Network Diagnostics.
    ERR_SSL_PROTOCOL_ERROR

  • @tristanwu17 said:

    @TheCrafters said:

    @SkyCityCZ said:
    How can i do it?

    Create a file called .htaccess in your /htdocs folder and put this in it:

    RewriteEngine on
    RewriteCond %{HTTPS} !on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    I did everythiing but now i cant access my website it says
    This site can’t provide a secure connectionbuyaffordablepcs.ezyro.com sent an invalid response.
    Try running Windows Network Diagnostics.
    ERR_SSL_PROTOCOL_ERROR

    That website redirects me to ads now, did you delete it?

    Did you have an SSL certificate for that subdomain in the first place?

    Also please do not go and bump old threads, it is preferable to create a new one for your issue.

Sign In or Register to comment.