the .htaccess file for quinnmichaels.com
-
The
.htaccess
file for quinnmichaels.com ensures that the application routes and the site is forwarded tohttps
for all requests..htaccess
RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST} ^(www\.)?quinnmichaels\.com RewriteRule ^(.*)$ https://quinnmichaels.com/$1 [R,L]
This little bit of code here will turn on the rewrite engine and route the requests through our application running from
index.html
This is just a simple solution for an apache server or any web-server that you need to deploy a rewrite on.