I have hosted my Laravel site in sub domain, its url is something like this:
Now i want to remove the public from url, my .htaccess file is like:
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}/beta [L,R=301]
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire