Can you use multiple rel alternate tags for different device subdomains?
-
When redirecting from desktop to mobile with a separate URL structure, you need to have a rel alternate - rel canonical handshake to define the relationship between the pages. But if you have a different subdomain for different mobile devices, can you add more than one rel alternate tag on the desktop page?
EG if site.com is redirecting to iphone.site.com, m.site.com, android.site.com
-
Hey Massimliano,
I responded to you over here too, but basically: Googlebot's user agent declares itself to be an iPhone, so I'd rel="alternate" over to your iphone.site.com version. Rel="alternate" is supposed to redirect based on the width of the screen, not the device type, so I don't know how you'd differentiate between your multiple rel="alternate"s otherwise.
I've never heard of anyone using this set up before, so let us know how it goes!
Kristina
-
I would just select one mobile subdomain to act as your canonical. Then at a later stage you can begin redirecting the other mobile versions to this one canonical version.
-
Hi Patrick, thanks for the response.
It is a legacy architecture that's in place, this would be a temporary situation while the new mobile solution is being built.
I was just wondering about the possibility of defining more than one rel alternate, I've never seen anyone do it (because why would you :P) but in the interest of mad science, would the relationship work between a canonical on each mobile subdomain pointing to multile rel alternate tags on desktop.
-
Hi there
You shouldn't have to redirect for different mobile sites depending on device. Is there a reason you are doing so? I would focus on one mobile site, properly implement tags, and go from there.
Let me know - good luck!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to handle multiple domains?
Hello, We are working on migrating a website to a new web server. In addition to the primary website domain, there are several other variations that are owned. Is okay if we point all of our domains to the same IP address as our primary domain, and then setup 301 redirects to the primary domain? Are there any risks in doing this? There may be about 100 domains. Many of them are different country TLD for same primary .com domain, others including misspellings of primary .com, and some that are not so related to primary domain. Thank you in advance for your response!
Intermediate & Advanced SEO | | srbello1 -
Ranking with subdomain - Urgent
Does anyone have any experience if it is possible to get a website ranking on a subdomain? I'm trying out a business idea and need to keep costs to an absolute minimum. I have a site which I designed in wix.com they give a free subdomain and I want to know if there's any chance of getting it to rank Thanks
Intermediate & Advanced SEO | | seoman100 -
Using on two pages a keyword in alternative language in the title
Hello SEO wizards, The main language on my website is english, and I am wondering if I can add a keyword in russian to couple of pages to the title and image alt tag and maybe header , with the hope that it would rank in google with that russian keyword.. But I am not sure how google would react to that, I tried to search information on that, but could not find a clear answer.... Many thanks for anybody who takes time to respond
Intermediate & Advanced SEO | | bidilover0 -
How can I tell where I was penalised?
It seems for sometime now I have not been showing up the top for my keywords when I use to be ranking #1 and #2 for my main keywords, however now, I don't show up anywhere - this has been for almost a year now, can anyone tell me how I can find out (apart from google web masters tools) where I was penalised? Thanks
Intermediate & Advanced SEO | | edward-may0 -
Should I use rel=canonical on similar product pages.
I'm thinking of using rel=canonical for similar products on my site. Say I'm selling pens and they are al very similar. I.e. a big pen in blue, a pack of 5 blue bic pens, a pack of 10, 50, 100 etc. should I rel=canonical them all to the best seller as its almost impossible to make the pages unique. (I realise the best I realise these should be attributes and not products but I'm sure you get my point) It seems sensible to have one master canonical page for bic pens on a site that has a great description video content and good images plus linked articles etc rather than loads of duplicate looking pages. love to hear thoughts from the Moz community.
Intermediate & Advanced SEO | | mark_baird0 -
Advanced Title Tags
Looking for some advanced help here. I've been reading a lot of conflicting information on this, and I am hoping someone can clear this up. My question is regarding length and complexity of title tags. For example, my top level keywords are: IT Support, IT Services, IT Outsourcing, Help Desk, etc. I also have pages for many modified versions ex: IT Support Services, Managed IT Services, etc. I have robust pages for each. Should my title tag be: IT Support | CSM Corp. - Simple IT Support Company | CSM Corp. (Picks up a longer tail) or IT Support | Secondary Keyword | CSM Corp. Does adding secondary keywords dilute the strength of the primary keyword? If long is preferable, can someone give me an example using "IT Support"?
Intermediate & Advanced SEO | | CsmBill0 -
Disavow Subdomain?
Hi all, I've been checking and it seems like there are only 2 options when disavowing links with Google's tool. Disavow the link: http://spam.example.com/stuff/content.htm Disavow the domain: domain: example.com What can I do if I want do disavow a subdomain? i.e. spam.site.com I'm also assuming that if I were to disavow the domain it would include all subdomains? Thanks.
Intermediate & Advanced SEO | | Carlos-R0 -
Do you use a different tactic to optimize for Bing?
Google is king, but it seems as though there is a significant source of traffic and revenue from Bing. What is the preferred strategy? Optimize for Google and hope it filters to Bing? An obvious concern would be that if we change tactics to please Bing, we could stand to lose our rankings with Google. Any opinions/thoughts/feedback/suggestions would be appreciated.
Intermediate & Advanced SEO | | NaHoku0