# Things to remember while deploying Laravel Apps

First thing, which is mentioned even in the official Laravel docs is, do not move the files from the **public** directory and move them to the root. Do not do it at all, rather add this code to the `.htaccess` file

```plaintext
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
```
