Here are steps to add Duckduckgo site search engine search to your website. Duckduckgo has a free internal website search engine that very few people know of. In this article, we will discuss how to add this search engine in your website.
Steps to add Duck Duck Go Search
- Go to https://duckduckgo.com/search_box
- Give width to your search box ( An ideal width is around 250 px ) the default is 480 px.
- Turn off the Duckduckgo logo.
- Give a background color. (Here is a complete list of color codes http://html-color-codes.com/)
- Under site search, enter the website you want to search. (example: expertrec.com)
- Under prefill, enter the placeholder value ( default text inside the search box).
- Auto focus -turn on or off (on – means when someone visits your site, the cursor is by default in the search box).
- Now copy-paste the code to your website by placing it inside a div on pages where you want the search to appear.
- The code might look something similar to this-
<iframe src="https://duckduckgo.com/search.html?width=250&site=expertrec.com&prefill=Search expertrec.com&focus=yes" style="overflow:hidden;margin:0;padding:0;width:308px;height:40px;" frameborder="0"></iframe>
- That’s it – you have successfully added duckduckgo custom search to your site.
Some drawbacks of this Duckduckgo custom search engine is that it contains ads and the search results are taken to Duckduckgo’s website which could lead to high bounce rate and affect your SEO rankings.
Create a premium custom search engine
Advantages of using DuckDuckGo Search
- Duckduckgo is free.
- Unlimited- Irrespective of how many users your site has, the search engine can handle it.
Disadvantages of DuckDuckGo Search
- Duckduckgo has ads in search results. This could mean you could lose hard earned traffic to competitors.
- No UI editor- Duckduckgo has no inbuilt controls to edit the look and feel of the search engine. This means you will have to get into coding to make the search engine look in sync with your website.
- No control over what is crawled- Duckduckgo doesn’t give any controls over what is crawled and when it is crawled. So when you update any content on your website, it might take a pretty long time to reflect in your search results.
Expertrec- Overcoming disadvantages of DuckDuckGo
You can overcome disadvantages of Duckduckgo by creating a custom search engine with Expertrec. It has zero ads in search results and also has a codeless UI editor that can help you match your website search engine to the look and feel of your website. This comes at an affordable cost of $9 per month.
Here are 5 easy steps to create a custom search engine with Expertrec
- Go to no code custom search creator.
- Sign in with your Gmail ID.
- Add your website and sitemap URL.
- Wait for crawl to create.
- Add code to your website from here and take live.