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
-
Using same copy on different domain
I have a client that currently has a .com domain (not using hreflang) . They have a new partner in the UK and they want to replicate the website and use a .co.uk domain. It will be a different brand name. Will this cause any SEO issues?
Intermediate & Advanced SEO | | bedynamic0 -
Corporate website in multiple locations and with multiple services
Dear Team, We are a corporate setup in India, we have the following services under different brand names: 1. Security guard services - ORION 2. Facility management services - NOIRO 3. Investigation services - Ascertain Solutions We are located in different locations - India, Bahrain and Abu Dhabi What is the best way to structure our website properties for getting maximum SEO benefit, please inform from the following options: i. One website with one blog, we will have multiple pages dedicated to each service where page titles can be the brand names of the service and the location, the domain will be of the parent company only. So everything comes under orionsecure.com. There will be a security services page for India, for Abu Dhabi , for Bahrain. Similar for investigation and facility management. **ii. Multiple websites for different locations and different services, **so there will be orionsecure.com, orionsecure.ae and orionsecure.bh. Also, there will be a noiro.com, noiro.ae etc. Each website will have a blog for content publishing (although it is hard to imagine how we can develop content for different locations). **iii. One website each for each service, location shown differently through domain masking, **so we keep developing different pages as per the different locations on one website only, but this is shown differently through domain masking. Please help with this query, I really need an answer to this. If any more questions, please connect on [email protected] or call on +91-8510999664. Thanks and Regards, Naman Arora
Intermediate & Advanced SEO | | Ascertain_Solutions0 -
Why isn't the rel=canonical tag working?
My client and I have a problem: An ecommerce store with around 20 000 products has nearly 1 000 000 pages indexed (according to Search Console). I frequently get notified by messages saying “High number of URLs found” in search console. It lists a lot of sample urls with filter and parameters that are indexed by google, for example: https://www.gsport.no/barn-junior/tilbehor/hansker-votter/junior?stoerrelse-324=10-11-aar+10-aar+6-aar+12-aar+4-5-aar+8-9-aar&egenskaper-368=vindtett+vanntett&type-365=hansker&bruksomraade-367=fritid+alpint&dir=asc&order=name If you check the source code, there’s a canonical tag telling the crawler to ignore (..or technically commanding it to regard this exact page as another version of the page without all the parameters) everything after the “?” Does this url showing up in the Search Console message mean that this canonical isn’t working properly? If so: what’s wrong with it? Regards,
Intermediate & Advanced SEO | | Inevo
Sigurd0 -
Cross Domain Rel Canonical tags vs. Rel Canonical Tags for internal webpages
Today I noticed that one of my colleagues was pointing rel canonical tags to a third party domain on a few specific pages on a client's website. This was a standard rel canonical tag that was written Up to this point I haven't seen too many webmasters point a rel canonical to a third party domain. However after doing some reading in the Google Webmaster Tools blog I realized that cross domain rel canonicals are indeed a viable strategy to avoid duplicate content. My question is this; should rel canonical tags be written the same way when dealing with internal duplicate content vs. external duplicate content? Would a rel=author tag be more appropriate when addressing 3rd party website duplicate content issues? Any feedback would be appreciated.
Intermediate & Advanced SEO | | VanguardCommunications0 -
Sitemap on a Subdomain
Hi, For various reasons I placed my sitemaps on a subdomain where I keep images and other large files (static.example.com). I then submitted this to Google as a separate site in Webmaster tools. Is this a problem? All of the URLs are for the actual site (www.example.com), the only issue on my end is not being able to look at it all at the same time. But I'm wondering if this would cause any problems on Google's end.
Intermediate & Advanced SEO | | enotes0 -
Set up a rel canonical
I have a question. I was wondering, if it was possible to set up a rel canonical. When I can't access the non canonical pages? For example, my site as at www.site.com , but the non cannocail is at site.com is their any way to set thet up without actually edting it at site.com ? Thanks for your help
Intermediate & Advanced SEO | | PeterRota0 -
Using microformatting for multiple online review source
I sat in on the Microformats & Schema.org – Real life Use Cases webcast today. Thank you for providing that helpful information. This discussion question is related to microformat in relation to online reviews: I work for a local auto dealership group. Each of our dozen+ dealers have reviews on Google, dealerrater, cars.com, edmunds, etc. Is there a SEO benefit to compiling online reviews from multiple sources mentioned above into our site in a microformat (knowing the reviews existed elsewhere) or would we have to use a third party tool such as Bazaarvoice & capture our reviews through there? Have any of you pulled reviews from various sources onto your site & used the microformatting technique? If so, what was the outcome? Thanks
Intermediate & Advanced SEO | | autoczar0 -
HTML5 and using multiple H1 tags
Hi All, Our dev team have just asked me a very interesting question........ Within the context of an HTML5 page, where it is supported and encouraged to use multiple H1 tags, will the use of multiple H1 tags be detrimental to SEO? or does Google fully understand how HTML5 works and therefore not penalise a website for using multiple H1 tags? I have an opinion on this that if it helps usability and user experience then it is likely that it will be good for SEO. It would be really good to hear views of people who have tried this or have decided against it! Thanks
Intermediate & Advanced SEO | | A_Q0