imonboss
Supreme Member
- Joined
- Sep 9, 2015
- Messages
- 1,395
- Reaction score
- 464
I am not a technical nerd and never faced a problem like this ever before.
So, I kinds lost in here.
This is something I need to do and I need help from those who have coding knowledge and played with htaccess file before.
If i don't do this, i can't access my site at all which sucks due to ssl protocol error!
I would really appreciate if you guys help me solve this issue and regain access to my site.
Here goes:
Thanks,
imonboss
So, I kinds lost in here.
This is something I need to do and I need help from those who have coding knowledge and played with htaccess file before.
If i don't do this, i can't access my site at all which sucks due to ssl protocol error!
I would really appreciate if you guys help me solve this issue and regain access to my site.
Here goes:
Code:
# BEGIN GD-SSL
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_USER_AGENT} ^(.+)$
RewriteCond %{SERVER_NAME} ^yourdomain\.com$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Header add Strict-Transport-Security "max-age=300"
</IfModule>
# END GD-SSL
Thanks,
imonboss
Last edited: