Subdomain canonicalisation
-
Hi Moz fans,
I had a telephone conversation with an SEO company last week and they mentioned that the following "versions" of my domain were causing a canonicalisation issue;
I've already fixed the /index.html issue but do the above 3 also need to be fixed? Is the best solution to use a 301 redirect?
As a side note, the SEOmoz web app doesn't identify these as being duplicate content...
Regards, Ash
-
Hey Ash,
If you use a canonical in the index.html, then when you load example.com or example.com/ or etc. etc. versions you basically load the index.html (in which there is configured the canonical link).
My developer usually makes a 301 redirect from non-www. to www. and we implement to canonical link into index.html and that is it
I hope it helped,
Istvan
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
-
Canonicalisation query
Hi, I'm in a bit of a quandary. I have this page: https://www.commercialtrust.co.uk/compare-products/ As you can see we have provided filters to only display Fixed rate, Tracker rate, Variable rate, High LTV and HMO products for users. At the moment our canonical tags all point to the main Comparison page, but in order for the search feature to work dynamic urls are created. So for example on the fixed rate page (https://www.commercialtrust.co.uk/compare-products/fixed-rates/) when a user puts in their search criteria the url ends up looking like this: https://www.commercialtrust.co.uk/compare-products/fixed-rates/?PrevTab=HMO&PVal=250000&Amt=100000&Tme=20&SearchId=5508 Now, my quandary is this - should I make the canonical tag for the filtered products (fixed, tracker etc) like this: https://www.commercialtrust.co.uk/compare-products/fixed-rates/ or should I keep it at https://www.commercialtrust.co.uk/compare-products/ ? The comparison page shows all products, ordered by the lowest rate and with a pre-set search, limited to 20 - so not all products will be displayed on the page - and some products (like the high LTV ones) are not displayed on the main comparison landing page anyway... Thanks, Amelia
Intermediate & Advanced SEO | | CommT0 -
What has a better chance of ranking alongside my main site for my company name, a subdomain or new domain?
Hi Moz, Do search engines really treat subdomains as separate domains in this regard? Or are we more likely to get more real estate on the first page with a new domain? Our goal is to have our main site and this new subdomain or domain ranking in positions 1 and 2 for our company name. This is going to be a careers site/portal. Thanks for reading!
Intermediate & Advanced SEO | | DA20130 -
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 -
E-Commerce Multilanguage - Better on Subdomains?
Hi, We have an e-commerce store in English and Spanish - same products. URLs differ like this: ENGLISH:
Intermediate & Advanced SEO | | bjs2010
www.mydomain.com/en/manufacturer-sku-productnameinenglish.html SPANISH:
www.mydomain.com/es/manufacturer-sku-productnameinspanish.html All content on pages is translated, e.g, H1, Titles, keywords, descriptions and site content itself is in the language displayed. Is there a risk of similar or near dupe content here in the eyes of the big G? Would it be worth implementing different languages on subdomains or completely different domains? thank you B0 -
Google is mixing subdomains. What can we do?
Hi! I'm experiencing something that's kind of strange for me. I have my main domain let's say: www.domain.com. Then I have my mobile version in a subdomain: mobile.domain.com and I also have a german version of the website de.domain.com. When I Google my domain I have the main result linking to: www.domain.com but then Google mixes all the domains in the sites links. For example a Sing in may be linking mobile.domain.com, a How it works link may be pointing to de.domain.com, etc What's the solution? I think this is hurting a lot my position cause google sees that all are the same domain when clearly is not. thanks!!
Intermediate & Advanced SEO | | fabrizzio0 -
Domain vs Subdomain for Multi-Location Practice
I have a client who has 2 locations (Orlando & Tampa) and would like to keep the current domain for both locations (DA 29). We want to target additional cities within each service area (Orlando & Tampa). Each service area would target 2 cities on the main pages and 4-5 cities with "SEO" pages which contains unique content specific to the given city. Would I be better off creating sub domains (www.orlando.domain.com & www.tampa.domain.com), creating subfolders (www.domain.com/orlando, etc) or keeping the domain as is and create SEO pages specific to each city? We want to spread the domain authority to both locations.
Intermediate & Advanced SEO | | Red_Spot_Interactive0 -
Create new subdomain or new site for new Niche Product?
We have an existing large site with strong, relevant traffic, including excellent SEO traffic. The company wants to launch a new business offering, specifically targeted at the "small business" segment. Because the "small business" customer is substantially different from the traditional "large corporation" customer, the company has decided to create a completely independent microsite for the "small business" market. Purely from a Marketing and Communications standpoint, this makes sense. From an SEO perspective, we have 2 options: Create the new "small business" microsite on a subdomain of the existing site, and benefit from the strong domain authority and trust of the existing site. Build the microsite on a separate domain with exact primary keyword match in the domain name. My sense is that option #1 is by far the better option in the short and long run. Am I correct? Thanks in advance!
Intermediate & Advanced SEO | | axelk0 -
Subdomains - duplicate content - robots.txt
Our corporate site provides MLS data to users, with the end goal of generating leads. Each registered lead is assigned to an agent, essentially in a round robin fashion. However we also give each agent a domain of their choosing that points to our corporate website. The domain can be whatever they want, but upon loading it is immediately directed to a subdomain. For example, www.agentsmith.com would be redirected to agentsmith.corporatedomain.com. Finally, any leads generated from agentsmith.easystreetrealty-indy.com are always assigned to Agent Smith instead of the agent pool (by parsing the current host name). In order to avoid being penalized for duplicate content, any page that is viewed on one of the agent subdomains always has a canonical link pointing to the corporate host name (www.corporatedomain.com). The only content difference between our corporate site and an agent subdomain is the phone number and contact email address where applicable. Two questions: Can/should we use robots.txt or robot meta tags to tell crawlers to ignore these subdomains, but obviously not the corporate domain? If question 1 is yes, would it be better for SEO to do that, or leave it how it is?
Intermediate & Advanced SEO | | EasyStreet0