When should you use the hreflang tag in Sitemaps?
When should you use the hreflang tag in Sitemaps?
It generally is not necessary to put hreflang tags in sitemaps. They can be put in within pages or within headers. However, the use in sitemaps may be appropriate for fully multi-lingual versions of the same content.
Step 1: Determine whether you need hreflang annotations on your website.
Step 2: Create a map of your website's language and country versions.
Step 3: Double-check your website structure and domain strategy.
Step 4: Assign an hreflang value to each language and country version.
Jump to How to implement hreflang - Pricing aside, these two pages are identical, so you need to use hreflang tags to signal to search engines why the two versions exist. There may also be times when you need to do things the other way around: i.e., target speakers of multiple languages in the same country.
Use hreflang or sitemaps for language- or region-specific pages. If you have multiple versions of a page for different languages or regions, tell Google about this use hreflang.
You can add hreflang tags to your WordPress website without a plugin, by updating your header. php file. To access this file, you'll need to navigate to Appearance > Theme Editor, or use File Transfer Protocol (FTP). In this example, the tags need to be added to the English language content.
hreflang tags implementation guide – How to implement hreflang
Step 1: Determine whether you need hreflang annotations on your website.
Step 2: Create a map of your website's language and country versions.
Step 3: Double-check your website structure and domain strategy.
Step 4: Assign an hreflang value to each language and country version.
Pricing aside, these two pages are identical, so you need to use hreflang tags to signal to search engines why the two versions exist. There may also be times when you need to do things the other way around: i.e., target speakers of multiple languages in the same country.
If you have multiple versions of a page for different languages or regions, tell Google about this use hreflang.
|
Bookmarks