Highlighted

SSL - .htaccess folder

New Here ,
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.

RewriteEngine On

RewriteCond %{HTTPS} off

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

Views

183

Likes

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

SSL - .htaccess folder

New Here ,
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.

RewriteEngine On

RewriteCond %{HTTPS} off

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

Views

184

Likes

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
Aug 14, 2017 0
Guide ,
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

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2017 0