How to go live with Search.gov
Your pre-launch checklist will be unique to your agency’s workflow, requirements, and deadlines. Use the checklist below as a starting point.
Check the content settings
1. Have you told us which domains you want to search? List one or more domains that you want to search on the first page of web results. Some agencies opt to leave out the ‘www’ to include all subdomains (for example, list usa.gov to include answers.usa.gov, blog.usa.gov, publications.usa.gov, etc). Some agencies — especially department-level portals — opt to also include their bureaus’ websites (for example, Commerce.gov includes commerce.gov, noaa.gov, trade.gov, etc.)
2. Have we indexed your your content? We follow search engine optimization (SEO) best practices and leverage your XML sitemaps to monitor for new content. Verify also that you have a robots.txt file. These two files are typically located in the root directory of your website at example.gov/robots.txt
and example.gov/sitemap.xml
. Also verify that your robots.txt file allows our user agent (usasearch
) to access your public content.
Customize the display
3. Have you made the search results page look like your website? Customize the brand (font, colors, logo, favicon, and navigation links) of your search results page to create a seamless experience for users as they search and browse your website.
4. Have you told us what to show on your results page? Turn on (or off) the inline modules and search tabs that you want to appear on your search results page. You can change the default settings on the Display Overview page in the Admin Center.
Configure your search box
Most agencies add this code snippet to the template in their content management systems (rather than adding them to individual pages).
5. Does your search box point to Search.gov? Update your search box form code point to our service so that, when users perform a search, they’ll see the Search.gov results page.
<form accept-charset="UTF-8"
action="https://search.usa.gov/search"
id="search_form"
method="get">
<div style="margin:0;padding:0;display:inline">
<input name="utf8" type="hidden" value="✓" />
</div>
<input id="affiliate" name="affiliate" type="hidden" value="YourSiteHandle" />
<label for="query">Enter Search Term(s):</label>
<input autocomplete="off"
class="usagov-search-autocomplete"
id="query"
name="query"
type="text" />
<input name="commit" type="submit" value="Search" />
</form>
Remember SEO
6. Have you registered your site with the major commercial search engines? Register for both Bing Webmaster Tools and Google Webmaster Tools to maximize the coverage of your content in their search results.