How to create a symbolic link for laravel website in cPanel
Feb 23, 2021
- Connect and login to your cPanel using Terminal
- Link storage/app/public to public/storage using the syntax
ln -s traget_path link_path
3. go to project directory cpanel_username/public_html/project_name
Example (in CPanel File Directory)
ln -s /home/cpanel_username/public_html/project_name/storage/app/public /home/cpanel_username/public_html/project_name/public/storage
Result: