title: Rewrite Rule for Masking the URL with Query string and Page number
body: <p>I am trying to mask the following url with any page number using htaccess.</p>
  <p><a href="https://sampledomain.com/?page=2" rel="nofollow noreferrer">https://sampledomain.com/?page=2</a></p>
  <p>to</p>
  <p><a href="https://sampledomain.com/page/2" rel="nofollow noreferrer">https://sampledomain.com/page/2</a></p>
  <p>So if we call <a href="https://sampledomain.com/page/2" rel="nofollow noreferrer">https://sampledomain.com/page/2</a> url in the website, internally path should always be calling <a href="https://sampledomain.com/?page=2" rel="nofollow noreferrer">https://sampledomain.com/?page=2</a> url</p>
  <p>Please suggest me the correct htaccess rule.</p>