Forum Moderators: Robert Charlton & goodroi
I've heard from others that they had to do each page as a 301.
not2easy: It should be one simple redirect for all pages if the only change is http to https,Correct :)
Copywriter39: A couple of the responses said it would be necessary to do a 301 for each pageAlso correct :)
http://www.example.com/pages/anything/blue.html https://www.example.com/pages/anything/blue.html http://www.example.com/category/blue/round.html https://www.example.com/category/blue/round.html http://www.example.com/category/blue/round.html https://www.example.com/12345/category/pages/round/blue.html # https://wiki.apache.org/httpd/RewriteHTTPToHTTPS
# This checks to make sure the connection is not already HTTPS
RewriteCond %{HTTPS} !=on
# This rule will redirect users from their original location, to the same location but using HTTPS.
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]