Help Google understand your ecommerce website structure
Google tries to find the best content on your site by analyzing the relationship between pages
based on their linkages. This means navigation structures on your site (such as menus and
cross page links) can impact Google's understanding of your site structure.
For example, Google can use information such as the number of links it needs to follow to
reach a page and the number of links to a page to infer the relative importance of a page over
the rest of your site. For more information on how Google determines the
importance of a page in Google Search, see
How Google Search Works
.
Make your ecommerce site navigation Google crawler friendly
To help Google find all pages on your site, make sure that you follow ecommerce site best practices and that
your pages are reachable by following links through your site's navigation.
For example, add links from menus to category pages, from category
pages to sub-category pages, and finally from sub-category pages to all product pages. We also
recommend that you
add structured data
,
since this can help Google understand the purpose of the different pages on your site to
reinforce this structure.
If category pages don't include direct links to all products in a category, Googlebot might
not find all of your products by crawling alone. These products may be reachable from a search
box, but not via category browsing. Googlebot generally doesn't try to submit searches into a search box
as part of crawling a site. It's strongly recommended to link to all products that you wish
indexed. If it's not possible to link to all pages, use a
sitemap
or a
Google Merchant Center feed
.
These sources can include links to pages on a site that a crawler would not otherwise find.
To ensure Googlebot correctly locates the link, use
<a href>
tags when
creating links to other content. Don't use JavaScript events on other HTML DOM elements for
navigation. If you want to learn more about JavaScript and indexing page content, see
Understand the JavaScript SEO basics
.
Google generally doesn't look at the structure of URLs to work out the structure of a site.
Instead, it analyzes the linkages between pages to gain insights about the relative importance of
different pages on a site. As a general rule, the more links a page has to it within a site,
the higher the relative importance of the page to other pages on your site.
For example, if you have a best selling product, consider linking to it from the home page or
in other content, such as blog posts or newsletters on your site. This will help Google
understand how important the product is in relation to your site.
At the end of the day, Google is trying to help users find what they are looking for. The
ultimate ecommerce SEO best practice is to create useful and interesting content that is valuable to
users.
For further reading, see also
Faceted navigation best (and 5 of the worst) practices
.