Categories: Mobile websites :

Re: Mobile site showing as home page in SERPs - due to rel="alternate" media="only screen and (max-width

Showing 1-9 of 9 messages
Re: Mobile site showing as home page in SERPs - due to rel="alternate" media="only screen and (max-width Benjamin.. 1/15/14 2:22 PM
Hi

I used to have a similar issue with the m site sometimes appearing in desktop search results. Have you got the canonical tag pointing to the desktop version of the site placed into the mobile site? 

Ben
(unknown) 1/15/14 2:18 PM <This message has been deleted.>
(unknown) 1/15/14 2:26 PM <This message has been deleted.>
Re: Mobile site showing as home page in SERPs - due to rel="alternate" media="only screen and (max-width ets 1/15/14 2:31 PM
I think you might have conflicting canonicals.

The two pages you're linking are:
and

correct? So they should point to one another with canonical on the mobile pointing to the desktop and alternate on the desktop pointing to the mobile.

HOWEVER.... if you look at that desktop page, it also has a canonical:

<link rel="canonical" href="http://www.tdcanadatrust.com/"/>

and that canonicalised page does a 301 redirect back to this:

So you've got the canonicals all mixed up. Google will either be confused about them or it will have concluded you've got them mixed up and will be be ignoring them.

You've cannot have a rel=canonical on page A pointing to page B with page B doing a 301 redirect back to page A. That means the things are working in opposition. Rel=canonical is a hint and it won't be obeyed if you have conflicts of this sort going on.

I think if you sort that out, it will probably be OK.
(unknown) 1/15/14 3:24 PM <This message has been deleted.>
Re: Mobile site showing as home page in SERPs - due to rel="alternate" media="only screen and (max-width ets 1/15/14 11:39 PM
Hi Patrick,

You could try a "Fetch as Google" I guess?

You might still have a little difficulty with it for a while. The problem is that Google takes a canonical only as a "hint" and, according to a recent answer by Google's Gary Illyes, there are multiple cues it takes to strengthen its confidence that a canonical URL is correct. So as well as fixing the canonical, make sure you strengthen the hints by (for example) ensuring that the canonical home page (http://www.tdcanadatrust.com/products-services/banking/index-banking.jsp) is listed in your sitemap, but not the domain root page (http://www.tdcanadatrust.com/), that there are no conflicting canonicals elsewhere on the site, etc etc.

Another thing that will probably help in this case is to make the redirects "bidirectional". Currently, if I look at the desktop page on a mobile, I get redirected to the mobile site. But if I look at the mobile site on a desktop, I stay on the mobile site. Although Google says it has no preference whether the redirects are unidirectional or bidrectional, I think in this case, it will help - because the indexing is already duplicated and needs correcting. You can imagine that when Googlebot (i.e. desktop version) comes along and sees your mobile site with a 200 code, it currently indexes it for the desktop search as a duplicate - whereas if there's a redirect, it will find itself transported back to the desktop site and not do that?

I guess you are doing javascript redirects? The trouble with those is that they don't send an http "moved" response code, arguably making it harder for Googlebot to figure out the logic: https://developers.google.com/webmasters/smartphone-sites/redirects

One more quick thing - as I inspected the headers coming off in the redirect from the desktop to the mobile site, I noticed a couple of 404s:
/includes/javascript/mbox.js
/includes/styles/secondary-bg.gif

Not sure what's generating those but they appear when I look at the desktop URL with a mobile user agent in the transition from desktop to mobile. You'll see them if you look at the full headers.
Re: Mobile site showing as home page in SERPs - due to rel="alternate" media="only screen and (max-width JohnMu 1/15/14 11:52 PM
Hi Patrick

You're (probably accidentally) specifying this URL as your preferred version for Canada in your Sitemap file at http://www.tdcanadatrust.com/ sitemap-french.xml (I added spaces to the URLs so that they don't link like this)

<?xml version="1.0" encoding="UTF-8"?>
  <url>
    <xhtml:link 
                 rel="alternate"
                 hreflang="fr-ca"
                 href="http://www.tdcanadatrust.com/ francais/m/"
                 />
    <xhtml:link 
                 rel="alternate"
                 hreflang="en-ca"
                 href="http://www.tdcanadatrust.com/ m/"
                 />
  </url>
  
</urlset>


Cheers!
John
(unknown) 1/16/14 7:12 AM <This message has been deleted.>
(unknown) 1/16/14 10:41 AM <This message has been deleted.>