title: Custom URL(permalink) in get method for wordpress
body: <p>I had add this form in homepage of my theme</p>
  
  <pre><code>     &lt;form action="" method="GET"&gt;
  
          &lt;label&gt;NAME:&lt;/label&gt;
          &lt;input type="text" name="name" id="name" required/&gt;
          &lt;button&gt;GET&lt;/button&gt;
  
       &lt;/form&gt;
  
  &lt;?php
    if (isset($_GET['name'])){
    $name = $_GET['name'];
    echo "hello".$name;}
  ?&gt;
  </code></pre>
  
  <p>and here I am getting url at top is</p>
  
  <pre><code>example.com/?name=google
  </code></pre>
  
  <p>and i want custom url as</p>
  
  <pre><code>example.com/name/google
  </code></pre>
  
  <p>so what should i do to get custom URL by get method?</p>