Skip to content

Instantly share code, notes, and snippets.

@chrisvasey
chrisvasey / .htaccess
Created August 7, 2017 08:43
Bedrock .htaccess for shared hosting - rewrite to /web directory
Options -Indexes
# .htaccess primary domain to web redirect
# this file must be in the (public_html | web ) folder of your hosting account
# make the changes to the file according to the instructions.
<IfModule mod_rewrite.c>
# Do not change this line.
RewriteEngine on
# Change %host% to be your primary domain.