我有这个搜索栏:
<div id="tfheader">
<form id="tfnewsearch" method="get" action="http://mywebsite.com">
<input type="text" class="tftextinput" name="q" size="21" maxlength="120"><input type="submit" value="search" class="tfbutton">
</form>
<div class="tfclear"></div>
</div>
Run Code Online (Sandbox Code Playgroud)
它工作得很好,但是当我搜索“关键字”时,它会重定向到http://mywebsite.com/?q=keyword。
如何重定向到http://mywebsite.com/keyword?非常感谢 !