Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Criar uma estrutura de URL para sites de e-commerce
URLs bem projetados ajudam o Google a localizar e abrir páginas da Web de modo mais eficiente em um
site de e-commerce. Se você controla a estrutura dos URLs (por exemplo, se está criando seu
próprio site do zero), este guia pode ajudar a decidir qual estrutura de URL escolher para evitar os problemas de
indexação detectados pelo Google em sites de e-commerce.
Por que a estrutura de URL é importante
Uma boa estrutura de URL ajuda o Google a rastrear e indexar o site, ao passo que uma estrutura de URL ruim pode causar os seguintes problemas:
O conteúdo pode ser perdido se o Googlebot deduzir incorretamente que dois URLs retornam o mesmo
conteúdo, porque somente um URL pode ser recuperado pelo rastreador (o outro é descartado como
cópia). Isso pode acontecer se identificadores de fragmento (como #fragment) forem
usados para exibir conteúdos diferentes. O Google não usa identificadores de fragmento na indexação.
Exemplo: /product/t-shirt#black e /product/t-shirt#white
são considerados a mesma página pelo Google.
O mesmo conteúdo pode ser recuperado várias vezes pelo rastreador se o Google considerar que dois URLs
são diferentes, mas retornam a mesma página. Isso pode deixar o rastreamento do site mais lento
e colocar mais carga no servidor da Web, sem nenhum benefício.
Exemplo: /product/black-t-shirt e /product?sku=1234 podem retornar
a mesma página de produto, mas o Google não pode chegar a essa conclusão pela análise somente do URL.
O rastreador poderá pensar que o site contém um número infinito de páginas se os URLs
incluírem um valor em constante mudança, como um carimbo de data/hora. Como resultado, o Google pode
levar mais tempo para encontrar todo o conteúdo útil no site.
Exemplo: /about?now=12:34am e /about?now=12:35am podem ser
tratados como URLs diferentes pelo Google, mesmo que ambos os URLs exibam a mesma página.
Práticas recomendadas para a criação de uma boa estrutura de URL
Para otimizar a maneira como o Google rastreia e indexa sites, siga estas práticas recomendadas de
estruturação de URLs.
Recomendações gerais de URL
Minimize o número de URLs alternativos que retornam o mesmo conteúdo para evitar que o Google faça
mais solicitações ao site do que o necessário. O Google pode não perceber que dois URLs retornam a mesma
página até que ambos sejam recuperados.
Se o texto em maiúsculas e minúsculas em um URL for tratado do mesmo jeito pelo servidor da Web, deixe todo o
texto no mesmo tamanho de letra para que o Google identifique mais facilmente que os URLs fazem referência à mesma
página.
Confira se cada página nos resultados paginados tem um URL exclusivo. A maioria dos erros de URL ocorre em
estruturas de URL de paginação.
Adicione palavras descritivas aos caminhos de URL. As palavras em URLs podem ajudar o Google a entender melhor a página.
Siga estas recomendações ao usar parâmetros de consulta para ajudar o Google a rastrear e
indexar um site.
Use parâmetros de URL ?key=value em vez de ?value, quando possível.
Os parâmetros de URL permitem que a Pesquisa Google entenda a estrutura do seu site e rastreie e indexe de maneira mais eficiente.
Evite usar os mesmos parâmetros duas vezes. Caso contrário, o Googlebot pode ignorar um dos valores.
Recomendado:
?type=candy,sweet
Não recomendado:
?type=candy&type=sweet
Evite vincular internamente a parâmetros temporários, como IDs de sessão, códigos de acompanhamento,
valores relativos a usuários (location=nearby, time=last-week),
a hora atual. Isso pode resultar em URLs de curta duração ou duplicados
na mesma página. Para ter os melhores resultados com a Pesquisa Google, use URLs persistentes
e de longo prazo.
Recomendado:
/t-shirt?location=UK
Não recomendado:
/t-shirt?location=nearby, /t-shirt?current-time=12:02, /t-shirt?session=123123123
Como o Google processa os URLs das variantes de produtos
Uma consideração comum em sites de e-commerce é como estruturar URLs quando um produto está disponível
em vários tamanhos ou cores. Cada combinação de atributos do produto é chamada de
variante do produto. Para ajudar o Google a entender suas variantes de produto, confira se cada
uma pode ser identificada por um URL separado. Recomendamos as seguintes estruturas de URL para os URLs das variantes:
Usar um segmento de caminho, como /t-shirt/green
Usar um parâmetro de consulta, como /t-shirt?color=green
Se você usar parâmetros de consulta opcionais para identificar variantes, use o URL com o
parâmetro de consulta omitido como o URL canônico. Isso pode ajudar o Google a entender
melhor a relação entre as variantes do produto.
Usar URLs no conteúdo
Para ajudar a Pesquisa Google e o Google Shopping a identificar corretamente os produtos e a
relação entre as variantes deles, siga estas práticas recomendadas ao usar URLs no
conteúdo.
Use o mesmo URL em links internos, arquivos de sitemap e
tags <link rel="canonical">.
Por exemplo, ao vincular a primeira página em uma sequência paginada que usa um parâmetro
de consulta em que a página padrão é a primeira, inclua ou exclua ?page=1
no URL em todo o site de modo consistente.
Use uma tag <link rel="canonical">
de autorreferência (em que o URL da tag aponta para a página atual) em todas as páginas indexáveis e inclua esses URLs em um arquivo do
sitemap.
Para produtos com URLs exclusivos por variante, inclua o URL canônico do produto em todas as páginas
de variantes usando uma tag <link rel="canonical">. Para saber mais, consulte
a propriedade canonical_link do Google Merchant Center.
Inclua links diretamente nas páginas com tags <a href>.
Não use JavaScript para navegar entre as páginas. O Googlebot pode não detectar a navegação pelo
código JavaScript. Para saber mais sobre como o Google processa JavaScript, consulte
Princípios básicos de SEO em JavaScript.
Inclua um texto significativo entre as tags <a href> e </a> sempre que possível, como o
título do produto vinculado. Não use frases genéricas, como "Clique aqui".
Evite vincular ou pelo menos indexar páginas sem conteúdo útil. Se uma categoria não tiver itens, use uma tag metarobotsnoindex.
Se o site detectar que uma categoria ficou vazia e removê-la automaticamente da pesquisa e da navegação no site, retorne um código de status HTTP 404 (not found) para a página.
[null,null,["Última atualização 2025-08-04 UTC."],[[["\u003cp\u003eWell-structured URLs improve Google's ability to find and index your ecommerce site's pages, which is vital for visibility.\u003c/p\u003e\n"],["\u003cp\u003ePoorly designed URLs can lead to content being missed, duplicated, or perceived as infinite, hindering search engine crawling.\u003c/p\u003e\n"],["\u003cp\u003eOptimize URLs by minimizing alternatives for the same content, using descriptive words in paths, and following query parameter best practices.\u003c/p\u003e\n"],["\u003cp\u003eFor product variants, ensure each has a unique, identifiable URL using path segments or query parameters.\u003c/p\u003e\n"],["\u003cp\u003eUse consistent URLs in internal links, sitemaps, and canonical tags, while avoiding temporary parameters and JavaScript-based navigation for optimal indexing.\u003c/p\u003e\n"]]],["To optimize Google's crawling and indexing of ecommerce sites, ensure each page has a unique, descriptive URL. Minimize alternative URLs for the same content, avoid using fragment identifiers, and convert text to a consistent case. Use `?key=value` for query parameters, avoid duplicate parameters, and don't use temporary parameters. For product variants, assign each a separate URL using path segments or query parameters and utilize canonical URLs. Use consistent URLs in internal links, sitemaps, and `\u003clink rel=\"canonical\"\u003e` tags.\n"],null,["# Ecommerce URL Structure Best Practices | Google Search Central\n\nDesigning a URL structure for ecommerce websites\n================================================\n\n\nWell-designed URLs can help Google more efficiently locate and retrieve web pages on your\necommerce site. If you control the structure of your URLs (for example, you are building your\nown site from scratch), then this guide can help you decide on your URL structure to avoid\nindexing problems seen by Google on ecommerce sites.\n| If you're using an ecommerce platform, you can most likely skip this section, as the platform has most likely already considered these issues for you.\n\nWhy URL structure matters\n-------------------------\n\n\nA good URL design structure helps Google crawl and index your site, while a poor URL structure can lead to the following issues:\n\n-\n **Content can be missed** if Googlebot incorrectly thinks two URLs will return the same\n content as only one URL may be retrieved by the crawler (the other is discarded as a\n duplicate). This can happen if fragment identifiers (like `#fragment`) are\n used to show different content. Google does not use fragment identifiers in indexing.\n\n\n **Example:** `/product/t-shirt#black` and `/product/t-shirt#white`\n are considered to be the same page by Google.\n-\n **The same content may be retrieved multiple times** by the crawler if Google thinks two URLs\n are different but result in the same page being returned. This can slow down\n the crawling of your site and put additional load on your web server for no benefit.\n\n\n **Example:** `/product/black-t-shirt` and `/product?sku=1234` may return\n the same product page, but Google cannot determine this by looking at the URL alone.\n-\n **The crawler may think your site contains an infinite number of pages** if your URLs\n include a continually changing value such as a timestamp. As a result, Google may take\n longer to find all the useful content on your site.\n\n\n **Example:** `/about?now=12:34am` and `/about?now=12:35am` may be\n treated as different URLs by Google even though both URLs display the same page.\n\n\nSee [How Google Search Works](/search/docs/fundamentals/how-search-works)\nand [How Google's Site Crawlers Index Your Site](https://www.google.com/search/howsearchworks/crawling-indexing/)\nfor more information on how Google crawls and indexes your site.\n\nGood URL structure design best practices\n----------------------------------------\n\n\nTo optimize how Google crawls and indexes your website, follow these best practices on how to\nstructure your URLs.\n\n### General URL recommendations\n\n- Minimize the number of alternative URLs that return the same content to avoid Google making more requests to your site than needed. Google may not realize that two URLs return the same page until after both are retrieved.\n- If upper and lower case text in a URL is treated the same by the web server, convert all text to the same case so it is easier for Google to determine that URLs reference the same page.\n- Make sure each page in paginated results has a unique URL. We see the most URL mistakes in pagination URL structures.\n-\n Add descriptive words in URL paths. The words in URLs may help Google better understand the page.\n\n\n **Recommended** :\n `/product/black-t-shirt-with-a-white-collar`\n\n\n **Not recommended** :\n `/product/3243`\n\n### URL query parameter recommendations\n\n\nFollow these recommendations when using query parameters to help Google successfully crawl and\nindex your site.\n\n-\n Use `?key=value` URL parameters rather than `?value`, where possible.\n URL parameters allow Google Search to understand your site's structure and crawl and index more efficiently.\n\n\n **Recommended** :\n `/photo-frames?page=2`, `/t-shirt?color=green`\n\n\n **Not recommended** :\n `/photo-frames?2`, `/t-shirt?green`\n-\n Avoid using the same parameters twice. Googlebot may ignore one of the values otherwise.\n\n\n **Recommended** :\n `?type=candy,sweet`\n\n\n **Not recommended** :\n `?type=candy&type=sweet`\n-\n Avoid internally linking to temporary parameters, such as session-IDs, tracking codes,\n user-relative values (`location=nearby`, `time=last-week`), and\n the current time. This can result in URLs that have a short life or duplicate URLs\n for the same page. To get the best results from Google Search, use long-term, persistent\n URLs.\n\n\n **Recommended** :\n `/t-shirt?location=UK`\n\n\n **Not recommended** :\n `/t-shirt?location=nearby`, `/t-shirt?current-time=12:02`, `/t-shirt?session=123123123`\n\n### How Google understands URLs for product variants\n\n\nA common consideration on ecommerce sites is how to structure URLs when a product is available\nin multiple sizes or colors. Each combination of product attributes is referred to as a\n*product variant*. To help Google understand your product variants, make sure that each\nvariant can be identified by a separate URL. We recommend the following URL structures for variant URLs:\n\n- A path segment, such as `/t-shirt/green`\n- A query parameter, such as `/t-shirt?color=green`\n\nFor more information, see the [product variant structured data documentation](/search/docs/appearance/structured-data/product-variants).\n\n\nIf you use optional query parameters to identify variants, use the URL with the query\nparameter omitted as the [canonical URL](/search/docs/crawling-indexing/consolidate-duplicate-urls). This can help Google better understand the\nrelationship between product variants.\n\nUsing URLs in your content\n--------------------------\n\n\nTo help Google Search and Google Shopping correctly identify your products and the\nrelationship between product variants, follow these best practices when using URLs in your\ncontent.\n\n- Use the same URL in internal links, sitemap files, and [`\u003clink rel=\"canonical\"\u003e` tags](/search/docs/crawling-indexing/consolidate-duplicate-urls). For example, if linking to the first page in a paginated sequence using a query parameter where the default page is page one, either include or exclude `?page=1` on the URL throughout your site consistently.\n- Use a self-referencing [`\u003clink rel=\"canonical\"\u003e` tag](/search/docs/crawling-indexing/consolidate-duplicate-urls) (one where the URL in the tag points to the current page) on all indexable pages and include those URLs in a [sitemap](/search/docs/crawling-indexing/sitemaps/build-sitemap) file.\n- For products with unique URLs per variant, include the canonical product URL on all variant pages using a `\u003clink rel=\"canonical\"\u003e` tag. For more information, see [the `canonical_link` property of Google Merchant Center](https://support.google.com/merchants/answer/9340054).\n- Include links directly on the pages using `\u003ca href\u003e` tags; don't use JavaScript to navigate between pages. Googlebot might not detect navigation from JavaScript code. For more information about how Google processes JavaScript, see [Understand the JavaScript SEO basics](/search/docs/guides/javascript-seo-basics).\n- Include meaningful text between `\u003ca href\u003e` and `\u003c/a\u003e` tags where possible, such as the title of the product being linked to. Don't use generic phrases such as \"click here\".\n- Avoid linking to, or at least indexing, pages without useful content. If a category has no items, use a [`noindex` robots `meta` tag](/search/docs/crawling-indexing/robots-meta-tag#noindex). If your site detects that a category has become empty and automatically removes the category from on-site search and browse, consider returning a `404 (not found)` HTTP status code for the page.\n\nAdditional resources\n--------------------\n\n\nWant to learn more? Check out the following resources:\n\n- [Help Google understand your site structure](/search/docs/specialty/ecommerce/help-google-understand-your-ecommerce-site-structure)\n- [Avoid creating duplicate content](/search/docs/crawling-indexing/consolidate-duplicate-urls)\n- [Pagination, incremental page loading, and their impact on Search](/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading)\n- [Managing crawling of faceted navigation URLs](/search/docs/crawling-indexing/crawling-managing-faceted-navigation)"]]