Making your content search-friendly matters because it’s how you get more relevant users viewing your content. This is called search engine optimization (SEO), which can result in more interested users coming to your site. If Google Search has trouble understanding your page, you’re possibly missing out on an important source of traffic.
This guide covers what developers can do to make sure that their sites work well with Google Search. In addition to the items in this guide, make sure that your site is secure, fast, accessible to all, and works on all devices.
To get started, test your site in the URL inspection tool or Rich Results Test to see how Google sees your site. Googlebot is Google’s web crawling bot that discovers new and updated pages for the Google index. For more information about the process, go to How Google Search Works.
You may be surprised to find that Google doesn’t always see everything that you see in the browser. In the following example, Google doesn’t know there are images on this page because the page uses a JavaScript feature that isn’t supported by Google.
Googlebot navigates from URL to URL by fetching and parsing links, sitemaps, and redirects. Googlebot treats every URL as if it’s the first and only URL it has seen from your site. To make sure that Googlebot can find all the URLs on your site:
<a>
elements that Google can crawl. Ensure that all pages on the site can be reached by a link from another findable page. Make sure the referring link includes either text or, for images, an alt attribute, that is relevant to the target page.While Google does run JavaScript, there are some differences and limitations that you need to account for when designing your pages and applications to accommodate how crawlers access and render your content. Learn more about the basics of JavaScript SEO or how to fix Search-related JavaScript problems.
To learn more about how Google handles JavaScript when crawling, rendering, and indexing, see the following video.
To make sure that Google finds your new or updated pages quickly:
If you’re still having trouble getting your page indexed, check your server logs for errors.
Googlebot can only find content that is textually visible. For example, text in videos is invisible to Googlebot. To make sure that Google Search understands what your page is about:
content
property is not part of the DOM and Google Search ignores it at the moment. It’s fine to use the content
property for decorative content; Google Search may not index this content.Google doesn’t automatically know that there are multiple versions of your site or content. For example, a mobile and desktop version, or international versions of your site. To make sure that Google serves the right version to users, you can:
There are several ways to block Googlebot:
noindex
tag.If your content isn’t showing up in Google Search and you want it to show up, follow these steps:
noindex
rules in meta
tags.A rich result can include styling, images, or other interactive features that can help your site stand out more in Search results. You can help Google understand your page better and show rich results for it in Search by providing explicit clues about the meaning of a page with structured data on the page. If you’re not sure where to start, explore our gallery of available features.