title: How to redirect dynamic urls to another dynamic url in Laravel
body: <p>i have a dynamic url in Laravel like this:</p>
  
  <pre><code>Route::get('/{slug?}/{slug1?}/details/{country?}', 'Package@detail_pro_index');
  </code></pre>
  
  <p>and now i want to Change the url to "treatment".</p>
  
  <pre><code>Route::get('/{slug?}/{slug1?}/treatment/{country?}', 'Package@detail_pro_index');
  </code></pre>
  
  <p>and also want details page to be redirected to "treatment" in the URL</p>
  
  <p>so, i write something like this:</p>
  
  <blockquote>
    <p>Route::redirect('/{slug?}/{slug1?}/details/{country?}',
    '/{slug?}/{slug1?}/treatment/{country?}');</p>
  </blockquote>
  
  <p>but the above isn't working, please Help!!</p>