To make sure Google Search can crawl your site effectively, use a crawlable URL structure that meets the following requirements. If your URLs don't meet the following criteria, Google Search will likely crawl your site inefficiently — including but not limited to extremely high crawl rates, or not at all.
Requirements for a crawlable URL structure
Follow IETF STD 66
Google supports URLs as defined by RFC 3986. Characters defined by the standard as reserved must be percent encoded. Unreserved ASCII characters may be left in the non-encoded form. Additionally, characters in the non-ASCII range should be UTF-8 encoded.
Google Search supports URLs as defined by IETF STD 66. Characters defined by the standard as reserved must be percent encoded.
Don't use URL fragments to change content
Don't use fragments to change the content of a page, as Google Search generally doesn't support URL fragments. Here's an example of a URL fragment:
https://example.com/#/potatoes
If you're using JavaScript to change content, use the History API instead.
Use a common encoding for URL parameters
When specifying URL parameters, use the following common encoding: an equal sign (=) to separate key-value pairs and add additional parameters with an ampersand (&). To list multiple values for the same key within a key-value pair, you can use any character that doesn't conflict with IETF STD 66, such as a comma (,).
Recommended Not recommended
Using an equal sign (=) to separate key-value pairs and an ampersand (&) to add additional parameters:
Using a comma (,) to list multiple values for the same key, an equal sign (=) to separate key-value pairs, and an ampersand (&) to add additional parameters:
To help Google Search (and your users) better understand your site, we recommend creating a simple URL structure, applying the following best practices when possible.
Consider organizing your content so that URLs are constructed logically and in a manner that is most intelligible to humans. For information on structuring your site as a whole, check out this section of the SEO Starter Guide.
Best practices
Use descriptive URLs
When possible, use readable words rather than long ID numbers in your URLs.
When possible, use readable words rather than long ID numbers in your URLs.
Recommended: Simple, descriptive words in the URL:
Recommended (simple, descriptive words) Not recommended (unreadable, long ID numbers)
Recommended: Use words in your audience's language in the URL (and, if applicable, transliterated words). For example, if your audience is searching in German, use German words in the URL:
Use words in your audience's language in the URL (and, if applicable, transliterated words). For example, if your audience is searching in German, use German words in the URL:
https://example.com/lebensmittel/pfefferminz
https://example.com/lebensmittel/pfefferminz
Recommended: Use UTF-8 encoding as necessary. For example, the following example uses UTF-8 encoding for Arabic characters in the URL:
Or if your audience is searching in Japanese, use Japanese words in the URL:
https://example.com/ペパーミント
Use UTF-8 encoding as necessary
When linking to pages on your site, use UTF-8 encoding in your links's href attributes as necessary. Unreserved ASCII characters may be left in the non-encoded form. Additionally, characters in the non-ASCII range should be UTF-8 encoded. For example:
Recommended (UTF-8 encoding) Not recommended (non-ASCII characters)
Don't use fragments to change the content of a page, as Google generally doesn't support URL fragments. If you're using JavaScript to change content, use the History API instead.
Not recommended: URL fragments:
https://example.com/#/potatoes
If your site is multi-regional, consider using a URL structure that makes it easy to geotarget your site. For more examples of how you can structure your URLs, refer to using locale-specific URLs.
Recommended: Country-specific domain:
https://example.de
Recommended: Country-specific subdirectory with gTLD:
https://example.com/de/
Consider using hyphens to separate words in your URLs, as it helps users and search engines identify concepts in the URL more easily. We recommend that you use hyphens (-) instead of underscores (_) in your URLs.
We recommend separating words in your URLs, when possible. Specifically, we recommend using hyphens (-) instead of underscores (_) to separate words in your URLs, as it helps users and search engines better identify concepts in the URL. For historical reasons, we don't recommend using underscores, as this style is already commonly used for denoting concepts that should be kept together, for example, by various programming languages to name functions (such as format_date).