0

i am deploying my project to shared hosting now. But i found that all the css file seem like not in correct directory. For example my original code is <link href="{{ asset('intro/css/style.css') }}" rel="stylesheet" type="text/css">

In server i need to change it to <link href="public/intro/css/style.css" rel="stylesheet" type="text/css"> in order to make it work. But i having thousand of line need to change if i had to update all. Is there others way to do it? I am using Cpanel and my file is located in public_html.

masterhunter
  • 551
  • 2
  • 10
  • 29
  • Have you tried this solution ? https://stackoverflow.com/questions/30198669/how-to-change-public-folder-to-public-html-in-laravel-5 – Nikolas Jun 02 '17 at 12:26

1 Answers1

1

Try this

<link href="{{URL:: asset('intro/css/style.css') }}" rel="stylesheet" type="text/css">
Ketan Akbari
  • 10,837
  • 5
  • 31
  • 51