Subdomains
-
HI there
We have the following situation:
at /home we will have a iframe calling a subdomain
data.client.com . We need to use this structure because the server structure our client have.
- Is there any way i can index just www.client.com/home instead the subdomain, but include the data from the iframe to be indexed ?
- saying that because if google shows up the subdomain page on the search results, it will not bring anything as we need /home to the iframe/subdomain to work. So, google should just index /home and the data from the subdomain, but not the subdomain itself. Does it make sense? If not, any recommendation how it should be setup?
Appreciate any help.
-
Assuming that you have no options (and I really hate to see anyone rely on iFrames in 2012, especially for the home-page - it's a recipe for problems), I agree with Sanket - you can put a rel-canonical tag on the sub-domain pointing back to the main URL. That should at least help Google consolidate the pages.
Unfortunately, it's very likely you're losing ranking value for the content in that frame. There are ways to host content on sub-domains, but mask/rewrite the URLs so that they look like they're part of the main domain. Load-balancing systems (with content across multiple IPs and sub-domains) do it all the time. Obviously, I don't know the details of your situation, but I'd strongly recommend looking for a more permanent solution. The canonical tag will be a bandage here, at best.
-
Hi
In that case you have to set re=" canonical" it is best solution of your problem so with that case Google will index both page but not individually gives preference
-
Hi Sanket
Thanks for your kick response. However, I can't redirect the subdomain to the main domain because If i do so, when I call data.client.com from the iframe, it will basically enter in loop.
I still need to show the data.client.com inside /home through an iframe, so, i woud like if possible.
- Index the content from data.client.com as part of /home or index both but make sure /home gets indexed as the owner of this content.
- avoid google indexing individually data.client.com as a subdomain.
Hope it's clear now.
Thanks
-
Hello
Over here you want to index your domain www.client.com/home in search result page not data.client.com right? so one thing is possible disallow that URL in robots.txt if you doesn't want to index. Other wise set rel="canonical" ya 301 redirect to that URL so Google will automatically redirect that subdomain to main domain.
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
-
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
Intermediate & Advanced SEO | | AdiRste0 -
.ac.uk subdomain vs .co.uk domain
I'd be grateful if I could check my thinking... I've agreed to give some quick advice to a non profit organisation who are in the process of moving their website from an ac.uk subdomain to a .co.uk domain. They believe that their SEO can be improved considerably by making this migration. From my experience, I don't see how this could be the case. Does the unique domain in itself offer enough ranking benefit to justify this approach? The subdomain is on a very high authority domain with many pre-existing links, which makes me even more nervous about this approach. Does anyone have any opinions on this that they could share please? I'm guessing that it is possible to migrate safely and that there might be branding advantages, but from an actual SEO point of view there is not that much benefit? It looks like most of their current traffic is branded traffic.
Intermediate & Advanced SEO | | RG_SEO0 -
How to handle a blog subdomain on the main sitemap and robots file?
Hi, I have some confusion about how our blog subdomain is handled in our sitemap. We have our main website, example.com, and our blog, blog.example.com. Should we list the blog subdomain URL in our main sitemap? In other words, is listing a subdomain allowed in the root sitemap? What does the final structure look like in terms of the sitemap and robots file? Specifically: **example.com/sitemap.xml ** would I include a link to our blog subdomain (blog.example.com)? example.com/robots.xml would I include a link to BOTH our main sitemap and blog sitemap? blog.example.com/sitemap.xml would I include a link to our main website URL (even though it's not a subdomain)? blog.example.com/robots.xml does a subdomain need its own robots file? I'm a technical SEO and understand the mechanics of much of on-page SEO.... but for some reason I never found an answer to this specific question and I am wondering how the pros do it. I appreciate your help with this.
Intermediate & Advanced SEO | | seo.owl0 -
Complimentary sub-brand; subdomain, subfolder, something else?
Hello forum! I have a question about subdomains vs. subfolders for a new sub-brand for a company. The company is looking at creating a sub-brand delivering a different service to the parent company. It is complimentary in a sense, but it would need a very different marketing strategy. It is not trying to 'hide' its parent brand at all, but instead would leverage the parent brand as added social proof. I've read that creating a subdomain essentially means starting from scratch in terms of SEO, and that a subfolder would better leverage the domain authority the TLD has accrued. However, creating a subfolder does not really gel with me, as it would not in my opinion provide a good experience for visitors. I.e. it's like running a website that sells electronics and having a subfolder marketing IT support services. Yes, there is some synergy-- but it can also lead to visitor confusion. I'd love your opinions on this! Carlo
Intermediate & Advanced SEO | | carlod0 -
Archiving a festival website - subdomain or directory?
Hi guys I look after a festival website whose program changes year in and year out. There are a handful of mainstay events in the festival which remain each year, but there are a bunch of other events which change each year around the mainstay programming.This often results in us redoing the website each year (a frustrating experience indeed!) We don't archive our past festivals online, but I'd like to start doing so for a number of reasons 1. These past festivals have historical value - they happened, and they contribute to telling the story of the festival over the years. They can also be used as useful windows into the upcoming festival. 2. The old events (while no longer running) often get many social shares, high quality links and in some instances still drive traffic. We try out best to 301 redirect these high value pages to the new festival website, but it's not always possible to find a similar alternative (so these redirects often go to the homepage) Anyway, I've noticed some festivals archive their content into a subdirectory - i.e. www.event.com/2012 However, I'm thinking it would actually be easier for my team to archive via a subdomain like 2012.event.com - and always use the www.event.com URL for the current year's event. I'm thinking universally redirecting the content would be easier, as would cloning the site / database etc. My question is - is one approach (i.e. directory vs. subdomain) better than the other? Do I need to be mindful of using a subdomain for archival purposes? Hope this all makes sense. Many thanks!
Intermediate & Advanced SEO | | cos20300 -
Odd Results Moving Subdomain Content onto Main Domain
Hi forum! On Thursday night (12/6/12) we moved a page (and all the linking product pages) from our subdomain, mailing-list.consumerbase.com, to our main domain, www.consumerbase.com/mailing-lists.html Shockingly, today I search for "mailing lists" (our #1 target keyword) and we're on the first page! This page never has not ranked well for this keyword in the past. The problem is, the link displaying on Google is our old mailing-list.consumerbase.com subdomain URL. Did moving this content from the new subdomain to our old, well-established domain cause it to appear better in search? Or, since the URL is on the subdomain, did Google just finally get around to indexing that page? Thanks!
Intermediate & Advanced SEO | | Travis-W0 -
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 -
Mobile subdomain recommendations - Mobile SEO
My company is moving forward with creating a subdomain for mobile visitors (m.examplesite.com). I know there is much discussion on subdomain vs one url with different style sheets. That ship has sailed and the subdomain is the way we are proceeding. Google appears to recommend leaving both sites open to the normal Googlebot and redirecting the mobile bot to the mobile site (as we will be redirecting mobile visitors to the mobile subdomain). Has anyone had experience with this. Any duplicate content issues? Does anyone feel strongly that the normal Googlebot should be blocked from the mobile site (this seems to go against Google's recommendations)? It seems like another option is to use the canonical tag and let the search engines know the traditional site is the canonical page/version. Any recommendations? Any other issues that should be considered?
Intermediate & Advanced SEO | | btdavis0