title: Showing the Previous URL after redirecting to another url
body: <p>I have a retail application that is hosted at <a href="http://www.emenu.com" rel="nofollow noreferrer">www.emenu.com</a>. My clients have there on websites that are hosted on their server, like <a href="http://www.fastfood.com" rel="nofollow noreferrer">www.fastfood.com</a>, <a href="http://www.freshlime.com" rel="nofollow noreferrer">www.freshlime.com</a>, etc. There is a button on their website which redirects to <a href="http://www.emenu.com" rel="nofollow noreferrer">www.emenu.com</a>.</p>
  <ul>
  <li><a href="http://www.fastfood.com" rel="nofollow noreferrer">www.fastfood.com</a> on a button click redirect to <a href="http://www.emenu.com" rel="nofollow noreferrer">www.emenu.com</a></li>
  <li><a href="http://www.freshlime.com" rel="nofollow noreferrer">www.freshlime.com</a> on a button click redirect to <a href="http://www.emenu.com" rel="nofollow noreferrer">www.emenu.com</a> like that,</li>
  </ul>
  <p>Problem is that the client does not want to show my application URL in the address bar after redirecting.
  ie, <a href="http://www.fastfood.com" rel="nofollow noreferrer">www.fastfood.com</a> will redirect to <a href="http://www.emenu.com" rel="nofollow noreferrer">www.emenu.com</a> but it should show <a href="http://www.fastfood.com" rel="nofollow noreferrer">www.fastfood.com</a> in URL.</p>
  <p>I am using laravel for the development. Came across many solutions involving .htaccess like</p>
  <pre><code>Options +FollowSymLinks -MultiViews
  RewriteEngine On
  RewriteBase /
  
  RewriteCond %{HTTP_HOST} ^(www\.)?emenu\.come$ [NC]
  RewriteRule ^ http://www.fastfood.com%{REQUEST_URI} [L,NE,P]
  </code></pre>
  <p>But the solution doesn't work.</p>