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>
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3dhxKDs
via IFTTT
Aucun commentaire:
Enregistrer un commentaire