I want to see my site without "/public" so I have made the changes as per your answer https://www.laraship.com/question/transfering-to-public_html/ . i have put given code in htaccess file after that my site redirect to Example.com/public so can you plaese expain which file put in Public_html and which file put in public.
2 Answers
Hello,
The only thing needs to be added is the .htaccess file at the www folder with the content
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Please login or Register to submit your answer