You are here

README.txt in Hreflang 8

Same filename and directory in other branches
  1. 7 README.txt
HREFLANG
--------

Search engines use <link rel="alternate" hreflang="x" /> tags to serve the
correct language or regional URL in search results.

The Drupal 8 core Content Translation module adds hreflang tags only to 
translated entity pages. This simple module automatically adds hreflang tags to
all pages.

More info about hreflang can be found at the article "Use hreflang for language
and regional URLs": https://support.google.com/webmasters/answer/189077

A few days after installing this module, you should see a message reading
"Currently, your site has no hreflang tag errors" at Google Webmaster Tools:
https://www.google.com/webmasters/tools/i18n

If for some reason you'd like to modify the hreflang tags on a page, you can do
so by implementing hook_language_switch_links_alter() or
hook_page_attachments_alter() in a site-specific custom module.

To file a bug report, feature request or support request for this module, please
visit the module project page: https://www.drupal.org/project/hreflang

File

README.txt
View source
  1. HREFLANG
  2. --------
  3. Search engines use tags to serve the
  4. correct language or regional URL in search results.
  5. The Drupal 8 core Content Translation module adds hreflang tags only to
  6. translated entity pages. This simple module automatically adds hreflang tags to
  7. all pages.
  8. More info about hreflang can be found at the article "Use hreflang for language
  9. and regional URLs": https://support.google.com/webmasters/answer/189077
  10. A few days after installing this module, you should see a message reading
  11. "Currently, your site has no hreflang tag errors" at Google Webmaster Tools:
  12. https://www.google.com/webmasters/tools/i18n
  13. If for some reason you'd like to modify the hreflang tags on a page, you can do
  14. so by implementing hook_language_switch_links_alter() or
  15. hook_page_attachments_alter() in a site-specific custom module.
  16. To file a bug report, feature request or support request for this module, please
  17. visit the module project page: https://www.drupal.org/project/hreflang