Created
July 2, 2019 11:06
-
-
Save itsnahidhasan/a824e1ead8011e3706613a49360f08ee to your computer and use it in GitHub Desktop.
Meta hreflang tag example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Meta hreflang tag example: Add this code to the <head> section of every page | |
<link rel="alternate" href="http://example.com/" | |
hreflang="en" /> | |
// Targetting uk English speaking users | |
<link rel="alternate" href="http://example.com/en-gb/" | |
hreflang="en-gb" /> | |
//targettign English speaking Australian users | |
<link rel="alternate" href="http://example.com/en-au/" | |
hreflang="en-au" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment