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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -