How To Organize A Website Search

Table of contents:

How To Organize A Website Search
How To Organize A Website Search

Video: How To Organize A Website Search

Video: How To Organize A Website Search
Video: Designing a website - Episode 1: Planning & site map! 2024, May
Anonim

The easiest way to organize a site search is using Yandex. Service "Search for a site" provides you with a ready-made solution in order to organize a search on your site or several sites of your project. Before you start using the service, you need to create an account on Yandex.

How to organize a website search
How to organize a website search

Necessary

Service Yandex "Search for the site"

Instructions

Step 1

Create a new page on your site to display search results.

Step 2

Go to the Yandex Site Search service page https://site.yandex.ru/ under your account. Run the Search Customization Wizard for your project. To do this, click the "Set Search" button.

Step 3

In the first step of installing the search, fill in the required fields. Enter a search name and description. Only you will need this information. Specify the search area, that is, enter the URL of your site or several sites that will be searched for. If necessary, indicate not only the main pages of your projects, but also the specific sections of your sites that you plan to search. Agree to the terms and click "Next".

Step 4

In the next step, customize the appearance of the future search form. Select the type and color of the background for the form. Choose a font color and size.

Step 5

In the third step, arrange the search results. Customize the appearance of the page that will display search results. Select the "in iframe on page" option to display search results on your project page. Point to the path to the page on your site that you created to display search results.

Step 6

Get the html code for the site search (in the window on the right) and the code for the search form (in the window on the left). Paste the search code into the page that will display the search results for your site. Paste the search form code wherever you want on your website template. If your site is on WordPress, then add a search form using the widget. Go to the "Appearance" page of the admin panel of your site. Select "Widgets" and add a widget named "Text". Paste the form code into it. Insert the widget into the desired sidebar.

Step 7

Add the search form code to the results page so that your visitors can enter another query.

Recommended: