title: How to create custom Routing in ASP.NET Core
body: <p>I need help with URL rewriting. I am new to ASP.NET Core MVC. When I type  anything in <code>{param}</code> part then routing should redirect it to my controller.</p>
  
  <p>So if anyone to types in <code>{param}</code> like </p>
  
  <blockquote>
    <p><a href="https://mydoamin.com/" rel="nofollow">https://mydoamin.com/</a>{param}</p>
  </blockquote>
  
  <p>then it should be redirected to this url:</p>
  
  <blockquote>
    <p><a href="https://mydoamin.com/" rel="nofollow">https://mydoamin.com/</a>{controller}/{action}/{actionurl}={param}</p>
  </blockquote>