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
-
How to create a smooth blog migration from subdomain to subfolder main?
Hi mozzers, We have decided to migrate the blog subdomain to the domain's subfolder (blog.example.com to example.com/blog). To do this the most effective way and avoid impact SEO negatively I believe I have to follow this checklist: Create a list of all 301 redirects from blog.example.com/post-1 to example.com/post-1 Make sure title tags remain the same on main domain Make sure internal links remain the same Is there something else I am missing? Any other best practices? I also would like to have all blog post as AMPs. Any recommendations if this something we should do since we are not a media site? Any other tips on successfully implementing those types of pages? Thanks
Intermediate & Advanced SEO | | Ty19861 -
Subdomained White-Label Sites
Wanted to pass along a specific use-case that I'm thinking through in the technical setup for a client. Site: http://www.abc.com is an ecommerce company that offers the ability to white-label a site so an affiliate can join and get access to the site, and ultimately get a cut of whatever is sold through that affiliate. So I join the site and get access to scott.xyz.com and can handle my business through that. From a technical standpoint, this is the proposed technical setup of the site. Canonical URLS will be set to www.xyz.com Pages on scott.xyz.com will be set to noindex, while the main www.xyz.com will be set to be indexed Webmaster Tools for scott.xyz.com will be set to have preferred domain of www.xyz.com scott.xyz.com will have separate robots.txt instructing to block crawl Questions Am I missing any steps in properly setting up the technical background of the subdomain sites? The use of subdomains isn't something that I am able to move away from. Will any links in to scott.xyz.com pass juice and authority to www.xyz.com, or does the noindex/nocrawl block that from happening? Is there anything else that I am missing? Thanks!
Intermediate & Advanced SEO | | RosemarieReed
Scott0 -
Third Party Subdomain Slow Load Times Affect Our SERPs?
We have a third party subdomain that is not hosted on our server (smugmug.com gallery). It periodically has slow load times. The question is; does anybody know if the SERPs, or more specifically Google, would see that subdomain as our site? I want to gather insight into whether or not this might affect our results. Thank you!
Intermediate & Advanced SEO | | leslieevarts0 -
Changing a subdomain to a full domain to rank for a keyword
We have been attempting to get our blogsite to rank for our business name(Instabill). We are now considering changing the url from blog.instabill.com to something like instabillblog.com. I have following concerns about the change; Will changing the domain really be that helpful (i.e. will the change get our blog on page one for the term instabill) We have over 350 pages of content on our blog. Will changing the domain have possible negative effects ( I was thinking of using url updater in webmaster tools and creating a permanent 301 redirect from the older url to the new) Having never changed a url for a site with this much content and seo value for my company I would like to know the following from someone who has made mistakes here before; what not to do what steps you would take to make the transition easier Any help here will be greatly appreciated. cheers, Instabill
Intermediate & Advanced SEO | | Instabill0 -
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 -
Subdomain or New Domain or Directory path?
Hi Mozzers, I have a dilemma here. I have one of my clients that has its American website and would like to promote its business in canada(2 locations only vs more than 40 in the u.s). What would be the best SEO decision here for the 2 Canadian locations: should i go for a new root domain? if yes why (www.example.ca) a new subdomain? if yes why (ca.example.com) or just following a directory path solution under the american site? (www.example.com/canadiancity) Thanks Ty
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
HubPages, Squidoo and subdomains
Just want to check my thinking on something. So, Google says subdomains stand on their own right? They don't get juice from the root domain. If this is true, the subdomains on a site like HubPages or WordPress.com are essentially a PR0 domain, right? Something like, mysub.hubpages.com. But if you posted an article on Squidoo, a site that doesn't use subdomains, you should get some juice from the root domain passed to your post, right? I usually go the guest blogging route, but I recently read a couple of posts on Web 2.0 link wheels swearing they are awesome, but most of the time the recommendation is to build it using what I perceive to be PR0 sites - Wordpress.com, Tumblr, HubPages subdomains. You would have to develop those sites so they have PR in order to pass juice. Am I off base here or does building a link wheel in this way seem like a waste of time?
Intermediate & Advanced SEO | | friendlymachine0 -
Should we stream videos from a subdomain or subfolder?
This is causing some hand-wrangling and I need some help. Let's say we were developing rich video content for our products and our agency is hosting the content on a new external server. There are already plans to link to these videos from product detail pages, category pages, and landing pages on our main website: www.example.com. Would it be better to create a new subdomain or to use a subfolder with a reverse proxy technique for this video content? It's not truly a microsite and will not have a gallery page to navigate the various videos. For example, would it be better to use this: video.example.com/ ...or this (executed with a reverse proxy😞 www.example.com/video/ Of course, regardless of whether this new content will live on a subdomain or within a subfolder, we plan on creating a video Sitemap using guidance from Justin Hammack in this terrific post.
Intermediate & Advanced SEO | | Ryan-Ricketts1