hreflang tags error in web master tools
Tell Google about localized versions of your page.
1 |
<link rel="alternate" href="http://example.com/" hreflang=“en-us" /> |
Multiple hreflangs on one page
You can use multiple hreflangs on one page if you want to show that the page is for users in more than one country or area.
For example, if the page targets people who speak US English and Urdu.
1 |
<link rel="alternate" href="http://example.com"
hreflang=“en-us" /> |
1 |
<link rel="alternate" href="http://example.com" hreflang=“urdu" /> |
Video Lecture
Hreflang’s Effect on Rankings
Yes, its effect the ranking of your web page.
If you use Urdu language in hreflang, then you web page will be ranked in Urdu region on a priority basis.
hreflang tags on wordpress
Step 1:
Login to wordpress of your website.
Step 2:
Select appearance
Step 3:
Select themes editor
Step 4:
Select header.php
Step 5:
Edit the code.
Step 6:
Put the following code just before the closing head tag.
1 |
<link href="<?php the_permalink() ?>" hreflang='en-us' rel='alternate'/> |