title: .htaccess - detect /amp/ at end of URL and rewrite rule to a html file
body: <p>Please help to achieve the following in .htaccess file</p>
  
  <h2>Request URL</h2>
  
  <p>htpps://www.examplesite.com/folder/file/amp/</p>
  
  <h2>Required conditions to check</h2>
  
  <ol>
  <li>Check if /amp/ is present at end of the URL [AND]</li>
  <li>Check if /mobile/folder/file.html file is present</li>
  </ol>
  
  <h2>Rewrite Rule</h2>
  
  <p>Rewrite to htpps://www.examplesite.com/mobile/folder/file.html</p>