title: Razor Pages Web App (.Net core 2.1) - How to Handle Redirection from one Area Page to another Area Page
body: <p>I just updated my <strong>Razor Web Pages Application</strong> from .net core 2.0 to .net core 2.1 and reorganized my code to use <strong>Areas</strong>. </p>
  
  <p>My question is </p>
  
  <p>How to redirect from a page</p>
  
  <pre><code>Areas/Identity/Account/Register.cshtml 
  </code></pre>
  
  <p>to</p>
  
  <pre><code>Areas/Admin/ManageUsers/Index.cshmtl
  </code></pre>
  
  <p>Earlier in .net core 2.0 i was simply using <code>RedirectToPage("/ManageUsers/Index")</code> because all my code was under default <code>Pages</code> directory.</p>
  
  <p>NOTE: I am not using any routes in <code>startup.cs</code>.</p>
  
  <p>Thanks in anticipation.</p>