title: Laravel routes are not working on live server
body: <p>I just found the problem on server. all is working fine in my localhost, but on live server, ONLY the home page route is working.</p>
  
  <p>My directory is:</p>
  
  <pre><code>laravel-
          css
          js
          local-&gt;
               app
                   HTTP-&gt;
                        Controllers-&gt;
                                  Homecontroller
                                   admin-&gt;
                                          Groupcontroller   
               config
                ...
  </code></pre>
  
  <p>Here is my htacess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotiation.c&gt;
  Options -MultiViews
  &lt;/IfModule&gt;
  RewriteEngine On
  # Redirect Trailing Slashes...
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  # Handle Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ /index.php [L]
  RewriteCond %{HTTP:Authorization} ^(.+)$
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>And my route file is:-</p>
  
  <pre><code>Route::get('/group/detail', 'Groupcontroller@index');
  Route::get('/group/add', 'Groupcontroller@create');
  Route::get('/group/edit/{id}', 'Groupcontroller@edit');
  </code></pre>
  
  <p><a href="http://www.example.com/home" rel="noreferrer">http://www.example.com/home</a></p>
  
  <p>My home controller is working.I think issue is with admin folder???</p>
  
  <p><a href="http://www.example.com/admin/group/detail" rel="noreferrer">http://www.example.com/admin/group/detail</a></p>
  
  <p>This is not working</p>
  
  <p>Error is encountered :-</p>
  
  <p>Class App\Http\Controllers\Admin\Groupcontroller does not exist</p>
  
  <p>Please help me,Working fine at localhost but not on live.
  Thanks in advance</p>