The media attribute's value is a CSS media query string that specifies the.The rel="alternate" attribute signals that this tag specifies an alternative.Notice the attributes of the link tag on the desktop page: The required rel="canonical" tag on the mobile URL should still be added to the We support including the rel="alternate" annotation for the desktop pages in This rel="canonical" tag on the mobile URL pointing to the desktop page is On the mobile page ( ), the required annotation On the desktop page ( ), add the following annotation: The annotations in this example would be as We support two methods to have this annotation: in the HTML of the pages themselves and inĭesktop URL is and the corresponding mobile URL is On the mobile page, add a rel="canonical" tag pointing to the.This helps Googlebot discover the location of your On the desktop page, add a rel="alternate" tag pointing to theĬorresponding mobile URL.To help our algorithms understand separate mobile URLs, we recommend using the following Detect user agent strings and redirect them correctly.Signal the relationship between two URLs by using the tag with rel="canonical".Google does notįavor any particular URL format as long as they are all accessible for all In this configuration, the desktop and mobile pages have different URLs.Ī common setup would be pages on serving desktop users withĬorresponding pages served on m. for mobile users. Separate URLs Google doesn't recommend Separate URLs as a site setup because it'sĭifficult to implement and maintain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |