google sites search not working how to fix

Google site search not working-how to fix?

Rate this article

Share this article

Google Sites Search Not Working? How to Fix It

Is Google Sites search not working on your website? If users cannot find the content they are looking for, your website’s search functionality may need to be fixed.

The default Google Sites search may not always provide the search experience you need. In this guide, you will learn how to check whether your Google Site is published, configure website search, and add a working search bar using Expertrec.


How to fix Google Sites search not working


1. Make Sure Your Google Site Is Published

Important: Your Google Site must be published before a search engine can access its public pages.

If your website is still in editing mode, search crawlers may not be able to access its content. This can prevent your pages from being crawled and indexed.

To check whether your website is published:

  1. Open Google Sites.
  2. Select your website.
  3. Click the Publish button in the top-right corner.
  4. Publish your website if it has not already been published.
  5. Open the published website in an incognito browser window.
  6. Check whether the website and its pages are accessible without logging in.

If your website is not publicly accessible, fix the publishing or access settings before configuring search.

Google Sites publishing settings

How to Check If Your Google Site Is Live

Open your website in an incognito browser window.

If the website asks you to sign in or shows that the page is unavailable, your published site may not be accessible to the public.

Here is an example of a Google Site that is not publicly available:

Example of a Google Site that is not publicly accessible

Make sure your website is published and publicly accessible before moving to the next step.


2. Publish Your Google Site

If your Google Site is not live, publish it first.

  1. Log in to Google Sites.
  2. Open the website you want to publish.
  3. Click the Publish button in the top-right corner.
  4. Review the publishing settings.
  5. Make sure the website is available to the intended audience.
  6. Click Publish to make your changes live.

After publishing, open the website in an incognito browser to confirm that it is accessible.

Publish a Google Site before configuring website search


3. Add Google Sites Search Using Expertrec

Once your website is published, you can configure a search engine using Expertrec.

Follow these steps to create your website search.

Step 1: Open Expertrec

Visit the following website:


https://cse.expertrec.com/?platform=cse

Step 2: Enter Your Published Website URL

Enter the public URL of your Google Site.

Important: Do not enter the Google Sites editing URL. Expertrec needs the public website URL to crawl your pages.

For example, do not use an editing URL like this:

https://sites.google.com/s/1lH7Y6QaaxZkii9IELSV_i__pD7wek96j/p/10SjUsqw2dCjTexmps3SXRiRIXy8OmDSS/edit

This is an editing URL and should not be used as your website URL.

Incorrect Google Sites editing URL for search configuration

Step 3: Get the Correct Published Website URL

To find your public website URL:

  1. Open your website in Google Sites.
  2. Click Publish.
  3. Select View published site.
  4. Copy the URL from the published website.

View the published Google Site

The published website URL should look similar to this:

https://sites.google.com/view/muthalis-site/home

Use your own published website URL instead of the example above.

Example of a published Google Sites URL

Step 4: Add Your Sitemap URL

If your website has a sitemap, enter its URL during the search engine setup.

A sitemap can help search crawlers discover the pages available on your website.

If you do not have a sitemap, continue with the available configuration options.

Step 5: Select a Data Center

Choose the data center closest to your location from the available options.

This helps you select an appropriate region for your search setup.

Step 6: Wait for Your Website Crawl

After submitting your website details, allow the crawler to process your website.

The crawler needs to access your published pages before they can become available in the search index.

If your pages are not accessible or your website is not published, the crawl may not work as expected.


4. Get the Expertrec Search Code

After your website crawl and search setup, you can get the search code from the Expertrec dashboard.

  1. Open the Expertrec search dashboard.
  2. Visit the code section:


https://cse.expertrec.com/csedashboard/home/code

Copy the search code provided in your dashboard.


5. Add the Search Bar to Google Sites

Now that you have the search code, add it to your Google Site.

Step 1: Open Google Sites

Log in to your Google Sites account:


https://sites.google.com/

Open the website where you want to add the search bar.

Step 2: Click Insert and Embed

In the Google Sites editor:

  1. Open the page where you want the search bar.
  2. Click Insert.
  3. Select Embed.
  4. Choose the option to embed code.

Insert an embed on Google Sites

Step 3: Paste the Expertrec Search Code

Copy the search code from your Expertrec dashboard.

  1. Paste the code into the embed code field.
  2. Click Next.
  3. Review the search preview.
  4. Click Insert.

Paste Expertrec search code into Google Sites

Step 4: Publish Your Website Again

After adding the search bar, publish your Google Site again to make the changes available on the live website.

Open the published website and check whether the search bar appears in the correct location.


6. Test Your Google Sites Search

Once the search bar is added, test it on your published website.

Check the Following

  • Does the search bar appear on the published website?
  • Can users enter a search query?
  • Are relevant results displayed?
  • Are your published website pages included in the search results?
  • Does the search work when you open the website in an incognito browser?

You can also check the following example:


Google Sites Search Demo

Example of search functionality on Google Sites

For more information, visit the Expertrec site search page.


Conclusion

If Google Sites search is not working, first check whether your website is published and publicly accessible.

Make sure you use the correct published website URL instead of the editing URL. Then configure your search engine, allow your website to be crawled, and add the search code to Google Sites using the Embed option.

After publishing your changes, test the search bar on the live website to confirm that it works as expected.

Following these steps can help you add search functionality to your Google Site and make it easier for visitors to find your content.

Sign Up for ExpertRec

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like