← Back to blog

    Website search: how to design it so people find what they need

    Good search on a larger website is available on every page, visible at a glance and able to handle a one-word query. The first results page matters most, because when the first search fails, people often give up.

    Peter Bennár
    Peter BennárCEO / presentation designer
    Website search: how to design it so people find what they need

    In short: On a larger website, search should be a visible text box at the top of every page, wide enough for a typical query. It has to handle short queries, search the whole site by default and show the best result first. It does not replace navigation, it complements it.

    Some visitors like to click through the menu, others want to type what they are looking for straight away. And even people who usually rely on navigation turn to search the moment they get lost. That is why search deserves the same attention as your main menu.

    Why people search on websites

    Search gives people control. They do not need to understand how you organised your content, they only need the word they already have in mind. It is also a safety net: when a category makes no sense or a menu label sounds unfamiliar, search is the last chance to keep the visitor on your site.

    The rule that follows is simple: on a content-heavy website, such as an online store, a blog or extensive documentation, search should be available on every page. Nobody knows exactly where a visitor will get lost.

    A text box, not just an icon

    People scan for a rectangular box they can type into, often with a magnifying glass icon. An icon or a "Search" link on its own is less noticeable and adds an extra step. So:

    • Show the box directly, not only after clicking an icon.
    • Place it at the top of the page, usually in the top right corner or the middle of the header, where people expect it.
    • Make it wide enough for a typical query so the text does not immediately scroll out of view.
    • Add a clear button to submit and let people search with the Enter key too.

    On simple pages where search is not the main task, a less prominent link may be enough. On mobile, the box often hides behind a magnifying glass icon, but a tap should open it instantly with the cursor ready to type.

    The first query has to work

    Most people are not good at rephrasing a query. When the first search returns nothing useful, they do not try other variations, they leave. Design search so it succeeds on the first attempt:

    • tolerate typos, missing accents and different word forms,
    • use synonyms and the words your customers use, not just internal names,
    • on empty results, do not just say "No results", suggest similar terms, popular categories or a way to contact you.

    Short queries and advanced search

    Website queries tend to be short, often one or two words. Search has to cope with them and return meaningful results even without precise wording.

    Advanced search with many fields and conditions does not belong on the homepage. It puts most people off, and those who really need it will appreciate it on the results page, where they can narrow results further with filters.

    Use scoped search with care

    Searching only one section, for example just the blog or a single product category, can help, but it can also confuse. People often do not notice they searched only part of the site and conclude that what they want does not exist. If you use scoped search:

    • search the whole site by default,
    • clearly state on the results page where the search was run,
    • offer a one-click way to expand the search to the whole site.

    The first results page decides

    People usually look only at the first few results, so the most important and relevant pages must be at the top. Review your search logs regularly: you will learn what people search for most often, which words they use and which queries return nothing. For the most frequent queries, you can then manually set the best landing page as the first result.

    Results should have clear titles, a short description and, for products, an image and price, so people can decide without opening every link.

    Search shapes trust in the whole website

    When search returns irrelevant results, visitors do not blame just one box. They start doubting the whole website and whether they will find what they need there at all. Good results, on the other hand, feel professional and save time.

    Search and navigation should complement each other. A clear menu helps people who want to browse, search helps those who know exactly what they want. Neither should be a patch for the other's weaknesses.

    Website search checklist

    • Is search available on every page of a larger website?
    • Is it shown as a text box at the top of the page?
    • Is the box wide enough for a typical query?
    • Does it handle typos, missing accents and different word forms?
    • Does it return meaningful results for a one-word query?
    • Is advanced search offered on the results page rather than the homepage?
    • Does it search the whole site by default, with the scope clearly stated?
    • Do the most frequent queries show the best pages first?
    • Does a page with no results offer a next step?
    • Do you review your search logs regularly?

    Questions and answers

    Does every website need search?

    No. A small brochure site with a few pages can rely on clear navigation. On a content-heavy website, such as an online store or a blog, search should be available on every page.

    Where should search go on a website?

    At the top of the page, usually in the top right corner or the middle of the header, where people expect it. It should be a visible text box, not just an icon.

    Is a magnifying glass icon enough instead of a search box?

    On a larger website a visible box is better, because it is easier to notice and saves a step. An icon is a compromise mainly on mobile, but a tap should open the box instantly with the cursor ready.

    Does advanced search belong on the homepage?

    No. Most queries are short and a complex form tends to put people off. Offer advanced options and filters on the results page instead.

    How can I improve search results?

    Review your search logs, find the most frequent queries and set the best landing page as the first result for them. Add synonyms, typo tolerance and a helpful page for when nothing is found.

    If you want a website where visitors quickly find what they are looking for, take a look at our PeknéWeby services.

    Your next successful presentation starts here.

    Tell us more about your presentation

    and we'll create one that

    no one will forget anytime soon.

    Schedule a video call
    Schedule a video call

    Let's talk about your presentation in a 30 min. video call where we'll explain how we create a custom presentation.

    Presentations
    RELATED ARTICLES

    You may also like these

    Wow, you made it to the end of our website.

    It's rare these days to scroll all the way to the end of a website.

    As a reward, you can go back