title: Issue in 301 Redirect in Laravel 5.4
body: <p>I update the route of my category pages from <code>/listing/category1</code> to <code>/products/category1</code></p>
  
  <p>Old Route:</p>
  
  <pre><code>Route::get('/listing/{slug}', 'ProductsController@listing');
  </code></pre>
  
  <p>New Route: </p>
  
  <pre><code>Route::get('/products/{slug}', 'ProductsController@listing');
  </code></pre>
  
  <p>Now I want to permanently redirect (301) my <code>Old Routes</code> to <code>New Routes</code>.</p>
  
  <p>There are just 4-5 categories so I have added below code in <code>.htaccess</code> file in public folder to redirect all old URL's to New URL's manually with <code>Redirect 301</code> script but it didn't work.</p>
  
  <pre><code>Redirect 301 /listing/category1 https://www.example.com/products/category1
  Redirect 301 /listing/category2 https://www.example.com/products/category2
  </code></pre>
  
  <p>Please note website is having <code>SSL certificate</code> so links are starting with <code>https</code>.</p>
  
  <p>There might be solution lying somewhere in Stack Overflow or some other website that I unable to found. </p>
  
  <p>I tried adding below code in .htaccess file as well but of no use.</p>
  
  <pre><code>RewriteRule listing/category1 /products/category1 [R=301,L]
  RewriteRule ^listing/([a-zA-Z0-9_-]+)$ products/category1
  </code></pre>
  
  <p>Complete code of .htaccess file is below:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      RewriteRule ^/?listing/([\w-]+)/?$ /products/$1 [L,NC,NE,R=301]
  
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  
      # Handle Authorization Header
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>So Please help me telling <strong>How to permanently redirect Old Routes to New Routes in Laravel 5.4?</strong></p>
  
  <p>Thanks in advance!</p>