If you open Google Chrome, click inside the URL bar and write: google.com
and hit tab
,
you'll get a: Search Google for <enter query>
.
I tried it on my website and because I'm using javascript to process the form before sending it to an SEO friendly url, the search for my website is not working
It's redirecting me to site.com/?question=test
instead of site.com/search/test
Is there a way to fix that?
It is called the omnibar. There are some tutorials if you search Google for them. It's just a link
tag that tells Chrome what URL to use when the user searches your site with the omnibar. The specifics are detailed in the Open Search Description (OSD).
Here is Stack Overflow's OSD:
<link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With