Blogger tips and tricks not a fun. But we can try to create it fun . Friends ! Today i share an article how to Googles recommendations for linking between mobile and non mobile pages of a site for non responsive design..
Annotations for desktop and mobile URLs
To help our algorithms understand this configuration on your site, we recommend using the following annotations:
On the desktop page, add a special link rel="alternate" tag pointing to the corresponding mobile URL. This helps Googlebot discover the location of your site's mobile pages.
On the mobile page, add a link rel="canonical" tag pointing to the corresponding desktop URL.
We support two methods to have this annotation: in the HTML of the pages themselves and in Sitemaps. For example, suppose that the desktop URL is http://example.com/page-1 and the corresponding mobile URL is http://m.example.com/page-1 . The annotations in this example would be as follows:
Annotation in the HTML
On the desktop page, add:
and on the mobile page, the required annotation should be:
This rel="canonical" tag on the mobile URL pointing to the desktop page is required.
Taken from : https://developers.google.com/webmasters/smartphone-sites/details
To help our algorithms understand this configuration on your site, we recommend using the following annotations:
On the desktop page, add a special link rel="alternate" tag pointing to the corresponding mobile URL. This helps Googlebot discover the location of your site's mobile pages.
On the mobile page, add a link rel="canonical" tag pointing to the corresponding desktop URL.
We support two methods to have this annotation: in the HTML of the pages themselves and in Sitemaps. For example, suppose that the desktop URL is http://example.com/page-1 and the corresponding mobile URL is http://m.example.com/page-1 . The annotations in this example would be as follows:
Annotation in the HTML
On the desktop page, add:
and on the mobile page, the required annotation should be:
This rel="canonical" tag on the mobile URL pointing to the desktop page is required.
Taken from : https://developers.google.com/webmasters/smartphone-sites/details
0 comments:
Post a Comment