Google Custom Search

By default, your site will search all of IU, but you can customize it to search only your URL or collection of URLs. To set up a custom search for your site:

  1. Go to Google Custom Search Engine and login or sign up for an account.
  2. Click New search engine.
  3. In the Sites to search section, add the URL(s) you want to search.
  4. Select the language of your search engine.
  5. Click Create.
  6. Expand Edit search engine.
  7. Click Look and feel, select Two page, and click Save.
  8. Click Business, select Do not show ads on results page.
  9. Return to Setup and get your search engine ID (CX value) under Details.
  10. In the WCMS, open _assets/js/site.js.
  11. Edit the file and replace line 19 with your own CX code.

Note: To help expedite Google indexing your site, it is recommended that you submit your site to Google Webmaster Tools/Search Console once it is live. It is best to submit a sitemap, and request a fetch by going to Crawl > Fetch as Google.