javascript - How can I make a username search engine for my website? -


i'm trying make html field can put username , click on search button redirect example.com/i/username. there should no /, ? or /? @ end of url because url redirects deep link , open profile of app of username.

i tried below code didn't work.

<form method="get" action="https://example.com/i"> <input type="text"   name="q" size="31" maxlength="255" value="" /> <input type="submit" value="search" /> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -