![]() ![]() It is another option that you can use on your multilanguage WordPress website. It’s a php script which is designed to run on the server that hosts your website. The only software I’ve found that includes hreflang in sitemaps is a paid solution called Sitemap Generator that costs $19.99 (free version doesn’t include hreflang tag in sitemap). And a translation plugin that adds automatically hreflang annotations in the header of your websiteĪnother option is choosing from a number of third-party tools to generate your sitemap automatically.Using a sitemap plugin, such as WordPress SEO or Google XML Sitemaps.These plugins include in sitemaps information about priority, change frequency and the date of last modification (WordPress SEO also includes images), however none of them include hreflang tag for language URLs. Anyway there are other sitemaps plugins: Google XML Sitemaps, Better WordPress Google XML Sitemaps, XML Sitemap & Google News feeds or Google Sitemap by BestWebSoft. I use Yoast’s WordPress SEO plugin, since it has a section for this purpose and unlike other plugins includes images (Go to SEO > XML Sitemap and enable Sitemap functionality). There are different plugins to create a sitemap in WordPress. It’s much better to use a WordPress plugin or a special software to create sitemaps automatically. The first option is create your sitemap manually following Sitemaps XML protocol, but this can be time-consuming. How can you make an XML sitemap with alternative languages? IMPORTANT: Google recommends choosing only one way to implement hreflang annotations, in order to avoid errors. Instead of using an HTML link in header, you can include language version information in a Sitemap. An example: If you’re using in your website a translation plugin in a single WordPress installation (such as WPML or Polylang) or a translation plugin in a WordPress Multisite environment (such as Multilingual Press or Multisite Language Switcher), then you do not have to worry because these plugins can automatically include these attributes in your website header. This example shows a subdomain but it works across different domains or subfolders. ![]() In the HTML section of, add a link element pointing to the French version of that webpage at, like this: ![]() Imagine you have an English page at, with a French version at Īccording to Google you can indicate that the French URL is equivalent of the English page using hreflang attributes basically in two ways: It’s used by Google (and Yandex) to correctly identify the language and also the country targeting of multilingual websites (Bing uses the “content-language” meta tag). One useful solution to this problem is using hreflang attributes (rel=”alternate” hreflang=”x”). These attributes were released at the end of 2011 and updated in 2013 to support the x-default value. One of the main difficulties with multilingual SEO is the successful targeting of the correct website to the correct country or region, so that search users in a country or region find the site that is aimed at them. However sitemaps also can include information about alternative language URLs in multilingual websites (hreflang annotation).Įxample of sitemap generated by Sitemap Generator: How frequently it changes (daily, weekly, monthly, never, etc)Įxample of sitemap generated by WordPress SEO by Yoast:.How important it is (priority of URL relative to other URLs).XML Sitemaps usually include a list of URLs and optional information about each URL such as: ![]() What information can include an XML sitemap? XML sitemaps are submitted to search engines so they can crawl your website in a more effective way (Example: )ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |