title: Laravel routing not working 404 not found after deployment
body: <p>I just uploaded my project on shared hosting but the index page is the only working page, and when I try to navigate to any other page I face 404 not found page, I enable the Rewrite in .htaccess</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotiation.c&gt;
      Options -MultiViews -Indexes
  &lt;/IfModule&gt;
  
  RewriteEngine On
  
  # Handle Authorization Header
  RewriteCond %{HTTP:Authorization} .
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  
  # Redirect Trailing Slashes If Not A Folder...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} (.+)/$
  RewriteRule ^ %1 [L,R=301]
  
  # Send Requests To Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  
  # php -- BEGIN cPanel-generated handler, do not edit
  # Set the “ea-php80” package as the default “PHP” programming language.
  &lt;IfModule mime_module&gt;
    AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
  &lt;/IfModule&gt;
  # php -- END cPanel-generated handler, do not edit
  </code></pre>
  <p>but nothing changed, can anyone help me?</p>