Welcome Guest, Not a member yet? Register   Sign In
.htaccess to force http using https and still get rid off index.php etc.
#2

[eluser]Seb[/eluser]
I guess you shoud use both rewrite rules, because they will be applied if necessary:

Code:
RewriteEngine On

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

RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]


Messages In This Thread
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-19-2011, 03:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB