开发者

How do search engines recognize search boxes on websites?

开发者 https://www.devze.com 2023-01-25 21:37 出处:网络
I\'ve noticed that a lot of the time when i search something on Goo开发者_开发问答gle, Google automatically uses the search function of relevant websites and return the result of the website search as

I've noticed that a lot of the time when i search something on Goo开发者_开发问答gle, Google automatically uses the search function of relevant websites and return the result of the website search as if it was just another URL.

How do i let Google and other search engines know what is the search box on my own website and does Open Search has anything to do with it?


do you maybe mean the site search function via the google chrome omnibar?

to get there you just need to have a

  • form with method type GET
  • input type text element
  • submit button
  • on the root page of your domain

if users go directly to your root page and search something there, google learns of this form and adds it to the search engines accessible via the omnibar (the google chrome address bar).

did you mean this?


Google doesn't use anyones search forms - it just finds a link to search results, you need to

  1. Use GET for your search parameters to make this possible
  2. Create links to common/useful search results pages
  3. Make sure google finds those links

Google makes it look like just another URL because that is exactly what it is.

Most of the time though Google will do a better job than your search engine so actually doing this could lower the quality of results from your site...


I don't think it does. It's impossible to spider sites in real time.

It's just a SEO technique some sites use to improve their ranking by spamming Google with fake results. They feed the Google bot with an endless stream of links to bogus pages:

http://en.wikipedia.org/wiki/Spamdexing

0

精彩评论

暂无评论...
验证码 换一张
取 消