- Access your shell through your cPanel dashboard.
- Rename OR delete the default 'public_html' directory.
- To rename: use the command mv public_html public_html.original
- To delete: use the command rm -f public_html - Determine your Laravel directory.
For example if the Laravel directory is "laravel" and is located on /home/username/, use below command:ln -s /home/user/laravel/public/ /home/user/public_html
Note: laravel directory should have 750 permission and user:nobody ownership
How to create softlink for Laravel
- softlink, laravel
- 0 Uživatelům pomohlo