title: Laravel - redirect any page to mobile version with htdocs
body: <p>I am developing an ecommerce using laravel 4.2 and I want this:</p>
  
  <p>when the user access a link like "<a href="http://www.mystore.com/cart" rel="nofollow noreferrer">http://www.mystore.com/cart</a>" in a mobile, redirect to "<a href="http://www.mystore.com/m/cart" rel="nofollow noreferrer">http://www.mystore.com/m/cart</a>" and the same for all pages from the site.</p>
  
  <p>I am trying make this with htdocs, but is not working.</p>
  
  <p>How can i make this?</p>