How to redirect only root folder to https and not the subfolders with htaccess – opencart admin access non https

by
Miercuri , 22 June 2016 , ora 3:35 am in GADGETS







Your store address is http://opencart.com/catalog but you also have https://opencart.com/catalog with a valid ssl certificate .
You want to redirect http://opencart.com/catalog to https://opencart.com/catalog but still to access admin pânel without https http://opencart.com/admin

Put this code in .htaccess of the root of opencart.com/catalog
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule ^/?$ https://opencart.com/catalog [L,R=301]

[Total: 0    Average: 0/5] You must sign to vote
How to redirect only root folder to https and not the subfolders with htaccess – opencart admin access non https on Miercuri, 22 June, 2016 rated 4.8 of 5

Comments

comments


Tags:
No comments currently exist for this post.
Add a commentGet a Gravatar

* Name

* Email Address

Website Address

*

You can usethese tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
.
MAGAZIN.ZMEU.NET
CURS VALUTAR
Popular Posts
Tag Cloud
BUCHAREST
23°
clear sky
humidity: 44%
wind: 1m/s ESE
H 24 • L 23
31°
Sun
29°
Mon
16°
Tue