HTTP To HTTPS Redirect 301
Problem this snippet solves: Redirects all traffic to same hostname, same URI over https by issuing a redirect with status 301 (Moved Permanently). You can change the status code to a 302 to issue a...
Published Mar 18, 2015
Version 1.0CodeCentral_194
Cirrus
Joined May 05, 2019
CodeCentral_194
Cirrus
Joined May 05, 2019
bhanu_376522
Nov 08, 2018Nimbostratus
Thankyou this worked like a charm. SEO requirement want to make this a 301 permanent redirect and not a 302,