Your issue was related to your .htaccess and improper rewrite code. If you’re looking to rewrite your site to always point to HTTPS from HTTP, do one of the following:
Turn on “Automatic HTTPS Rewrites” in Cloudflare (I believe it’s under SSL).
Add the following lines to your .htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Thanks for the response! It looks like HTTP rewrites was already on, so that shouldnt’ be the issue. I just uploaded that .htacess file in hopes that would work, but I’m still getting the same error.
Looks like you’ve fixed the issue, so sorry for the wait in response. If the rewrite code doesn’t work for you, you should definitely just use Cloudflare’s features.