Skip to main content

Posts

Showing posts with the label Advanced SEO

Advanced SEO - Separate URLs for Mobile and desktop applications

We can configure Separate URLs for Mobile and desktop applications Annotations for desktop and mobile URLs To help Google algorithms understand separate mobile URLs, we recommend using the following annotations: On the desktop page, add a  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  rel="canonical"  tag pointing to the corresponding desktop URL. google 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. Annotations in the HTML On the desktop page ( http://www.example.com/page-1 ), add the following annotation: <link rel = "alternate" media = "only screen and (max-width: 640px)"   href ...