Pretty sure I'm missing something or causing the problem in my .htaccess but not sure...
have a few sites going through cloudlfare dns over https into the server without issue.
this site: https://www.bcctournaments.com however won't load https remotely - through firewall (while the others sites go through https without issue) like https://beta.sclr.org
inside the network I have my host file setup to redirect to the servers local IP address
https loads fine for the site.
however remotely https will not load the site -
clear cache and reset the wordpress base urls to http vs https and the site works fine but manually doing https it will not load remotely.
internally either works without issue.
Firewall is passing https just fine as well or else the sclr.org sites wouldn't pass.
bcctournaments though is using letsencrypt which is really the only difference.
currently tweaked .htaccess to allow http but still allow letsencrypt to find the /.well-known folder.
commented version below works internally fine - but not externally due to forcing https.
firewall is fine and passing https - it appears the server https isn't working quite right - but then again locally its working fine... so I'm kinda lost on what the cause is...
Server is on a completely different vlan from my machine internally so its not even on the same local network. (routing fine)
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_URI} !^/.well-known/
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
- # BEGIN WordPress
- # <IfModule mod_rewrite.c>
- # RewriteEngine On
- # RewriteCond %{REQUEST_URI} !^/.well-known/
- # RewriteCond %{SERVER_PORT} !^443$
- # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
- # RewriteBase /
- # RewriteRule ^index\.php$ - [L]
- # RewriteCond %{REQUEST_URI} !^/.well-known/
- # RewriteCond %{REQUEST_FILENAME} !-f
- # RewriteCond %{REQUEST_FILENAME} !-d
- # RewriteRule . /index.php [L]
- # </IfModule>
- # END WordPress