WebSite X5Help Center

 
Mariana B.
Mariana B.
User

Search bar  en

Author: Mariana B.
Visited 1225, Followers 1, Shared 0  

Hello!

I divided my website in 5 parts and when I am using the search bar it search only in that project.

I have tried to use the search bar from google but when I am using it, it finds products from other websites, not only from my site.

Because of this someone from google staff adviced me to use my search bar, but tu put the cod from the result page, gaven by google to my website.

How can I do this? Where should I write the cod received from google in the result page?

Thank you

Posted on the
1 ANSWERS
Andre E
Andre E
Moderator
Best User of the month EN

It's best to search the internet, googlle has stopped with site search and now has a tool that adds commercial information.

There are others or if you want to use google that;s also ok offcource....

see for instance here: https://searchengineland.com/google-site-search-way-now-271366

On this iste (if you want to use google it says:

Once you've created your custom search engine, you can add the Custom Search Element to your site. To do this, you'll need to copy some code and paste it into your site's HTML where you want your search engine to appear.

https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox

So inside an html object. Know that below in the HTML object you can set height or scrollbars options.

Read more
Posted on the from Andre E