Without SSL and without forcing the HTTPS, my urls look like these: (1) redbrickoffices.com/home (2) redbrickoffices.com/mainplan
================================================
This code was already present.
#php_flag display_errors on
#php_value error_reporting 9999
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
================================================
I added this code with the above code to force http to https
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} redbrickoffices\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://redbrickoffices.com/$1 [R,L]
================================================
But after forcing the http to https, my urls change to https://redbrickoffices.com/index.php?url=mainplan
I should be getting https://redbrickoffices.com/mainplan