This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Redirect to https
#1
Redirect to https
Hi

I have setup SSL up and works when i type https://www.domain.com.
When i type domain.com or http://www.domain.com i get error site cant be reach.
I read you can do this in your .htaccess file, but its not working.

My .htaccess file looks like this

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Reply
Thanks given by:


Messages In This Thread
Redirect to https - by etienne7702 - 03-09-2017, 07:25 PM
RE: Redirect to https - by TGates - 03-10-2017, 01:42 AM
RE: Redirect to https - by etienne7702 - 03-10-2017, 04:27 AM
RE: Redirect to https - by Ron-e - 03-10-2017, 04:35 AM
RE: Redirect to https - by etienne7702 - 03-10-2017, 04:42 AM
RE: Redirect to https - by TGates - 03-10-2017, 04:45 AM
RE: Redirect to https - by etienne7702 - 03-10-2017, 04:56 AM
RE: Redirect to https - by TGates - 03-10-2017, 05:15 AM
RE: Redirect to https - by etienne7702 - 03-10-2017, 05:28 AM
RE: Redirect to https - by TGates - 03-10-2017, 08:11 AM
RE: Redirect to https - by etienne7702 - 03-10-2017, 05:52 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
[HOW TO] How to secure your sentora panel with SSL (HTTPS) easy guide SupaYoshi 33 69,075 11-18-2016, 05:34 AM
Last Post: worksmarter
Roundcube Webmail https path pthalmann 0 2,292 12-29-2014, 09:09 AM
Last Post: pthalmann

Forum Jump:


Users browsing this thread: 1 Guest(s)