For example: segmentfault. comsearch? Qhello I want to implement: segmentfault. comsearchhello URL. Search for the form & #039; GET & #039; what will happen after the URL? , & Amp; or something. You can use Rewrite to directly search for segmentfault. comsear... for example:
Http://segmentfault.com/search? Q = hello
I want to implement:
Http://segmentfault.com/search/hello
This URL.
What will happen after the 'get' URL used to search for a form? , & Or something.
You can use Rewrite to directly search for the chain link of http://segmentfault.com/search/hello.
But does the URL still contain the following when searching for a form? And.
The URL is ugly.
Is there any way to rewrite it?
Reply content:
For example:
Http://segmentfault.com/search? Q = hello
I want to implement:
Http://segmentfault.com/search/hello
This URL.
What will happen after the 'get' URL used to search for a form? , & Or something.
You can use Rewrite to directly search for the chain link of http://segmentfault.com/search/hello.
But does the URL still contain the following when searching for a form? And.
The URL is ugly.
Is there any way to rewrite it?
Use JS to bind a formsubmit
Event, and then use location. href to jump when the form is submitted.
Similar to the following: