Skip to content

Instantly share code, notes, and snippets.

@LiamChapman
Created June 19, 2014 14:24
Show Gist options
  • Select an option

  • Save LiamChapman/005b3d3050c1f7344579 to your computer and use it in GitHub Desktop.

Select an option

Save LiamChapman/005b3d3050c1f7344579 to your computer and use it in GitHub Desktop.
Laravel's .htaccess to remove "public" from URL - put in the root. Good for when on something like heroku
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment