Hi, I’ve just launched a new version of a site and it has 17×301 redirects (all http) in place, all working fine e.g
RedirectMatch 301 ^/travel/bus/$ http://www.website.com/about/travel/bus/$1
I’m wanting to move the new site to https using Let’s Encrypt and I’m not sure whether this code is sufficient or do I need to alter the other 301s? If so, how do I do that (in that they would need to redirect from http/oldURL to https/newURL)?:
# WP REWRITE LOOP START
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteCond %{SERVER_PORT} ^80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteRule ^index\.php$ - [L]