SSL - .htaccess folder

New Here ,
Aug 14, 2017 Aug 14, 2017

Copy link to clipboard

Copied

I have to load some code into my .htaccess file - I have no idea where to find it and would be grateful of some guidance please - it is to get a redirect rule to send all searches to my secure site address.

Views

202

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Guide , Aug 14, 2017 Aug 14, 2017
RewriteEngine OnRewriteCond %{HTTPS} offRewriteRule ^(abc/def|ghi)(.*)/?$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]

Likes

translate

Translate

Translate
Guide ,
Aug 14, 2017 Aug 14, 2017

Copy link to clipboard

Copied

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(abc/def|ghi)(.*)/?$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines