Is your live site supposed to have rel canonical tags?
-
I recently started working for a company and got them to use Moz and I have found that our secure site and our live sites are creating "duplicate content" according to the Crawl Diagnostics feature. On our secure site we have rel canonical tags pointing to our live site. I'm not super familiar with rel canonical tags, but our developer says we're doing the right thing. Would love any insight you guys may have if this is actually duplicate content or not. Thanks so much!
-
Agree with Dave's comments. 1) Get the syntax updated on your canonical links at a minimum. 2) Yes your canonical solution will "work", but it is not best practice. This "solution" is really a last resort. I would try and push to move away from using canonicals this way. You optimally want 1 URL.
Just to add some color, a great / classic video on this was made by Matt Cutts. He gives all kinds of examples where you could have duplicate URLs, i.e. www vs non www subdomain, sorting parameters added onto the URL, different file extensions, capitalization changes, etc. He then gives 3 options to fix them.
-
Best practice: Fix your site where you only have one URL per content item and link to it consistently (Best solution)
-
Use 301 redirects to consolidate to one URL (Next best solution)
-
Use a canonical link, if you cannot do 1 or 2. (Last resort)
Note that Matt says that they treat a canonical as a strong suggestion (it is treated similar to a 301), but they do not always have to follow it. He repeatedly says, use the first two options, and would NOT recommend a canonical as your best or first option.
My favorite quote is at 2:24 in the video, "Developers keep SEOs in business"
What your developer may notice is that Matt does say that using a canonical link for consolidating http and https will work. No one here would say that it would not, it is just not optimal. Sure, you can use a pair of scissors to cut your lawn, "it will work". It doesn't mean it's the best idea. I would think any developer worth his/her salt would want to have "clean code" and having duplicate URLs is not "clean" by SEO standards
Ok, so now you need to go back to the developer or your manager with an argument that is stronger than just, "Well, some random dude on the Moz forum said that Matt Cutt's from Google said it was preferred not to use a canonical link even though it would work". I would never want to leave you in such a position. Here is what will/can happen over time if you stay with your current setup.
-
Report consolidation issues. When you look at GA for traffic or OSE for links, any spidering tool for technical issues, social sharing counts, you now have split data for any given page potentially. Sure there are ways around this, but now you have to spend all your time "fixing" reports that should not be broken to start with. Trust me, this will come back to bite you on the bum and will cripple your efforts to show the efficacy of your SEO work. Now who really wants that?
-
Link juice consolidation issues. With any redirect - you lose a bit of link juice. If you have links to both sets of URLs, any single page is not getting as much credit as it should.
-
Down the line 301 redirect bloat. If you ever change anything and need to setup a 301 redirect, now you have to setup 2 of them and having too many 301s can negatively impact server performance.
One last thing. If you can get the URLs consolidated into one using 301s etc. Go with the https That is the way that we are headed with the web and so you might as well get going in that direction.
Good luck!
-
-
I really appreciate the response and the added information. I guess we will see if anyone else responds!
-
I'd be interested in hearing what someone else has to say about the way the canonicals are coded. You're doing yours similar to the way I do DNS Prefetching with the double slash to start the URL:
It works fine with prefetching as all the browser needs to do is find the IP of the domain but I'm not sure here how it'll handle sub-directories including www and I hate variables even when they're "it should work". The more common way to canonicalize your secured page would be:
/>
I'd be interested to hear if anyone has any direct experience with this but at the core of technical SEO issues I always lean to "most common usage" and "how Google shows it in their examples" just to make sure there is minimal chance of hiccups or issues.
That aside though, the developer is right though I'd always still prefer to just see the pages at a single URL. Since that can't be done however ... canonicals are the way to go.
-
That is correct! Here is an example of two URL's of what i'm talking about:
http://www.agroup.com/blog/5-signs-of-a-good-clientagency-relatoinship
https://agrouptt4.secure2.agroup.com/blog/5-signs-of-a-good-clientagency-relatoinshipDoes this help clarify my question? I hope so!
-
I'm not sure I entirely understand the scenario so let me note how I'm hearing it to make sure my understanding is correct to put the answer into context. Please do let me know if my understanding of the scenario is wrong as that may well change my thoughts on it.
You note that your secure site and live site are creating duplicate content. Of course a secure site can be live but I'm taking this to mean you have an area behind a login. That it's creating duplicate content is making me think that a lot of the core information is the same and I'm guessing many of the same pages.
If this is all correct and you can't put the duplicated pages onto one URL only then the canonicals are the way to go and your developer is correct.
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
-
Drupal 8 tags and categories cause duplicate content shown in MOZ
Hi all, There is something difficult to trace that is causing duplicate content that is related to categories and tags i.e. https://example.com/contact Associated Pages https://example.com/tags/business https://example.com/taxonomy/term/41 example 2 https://example.com/category/example-category-1 Associated Pages https://example.com/category/occupiers-liability example 3 https://example.com/tags/test https://example.com/tags/test-2 Above two pages display same content (maybe due to similar posts feature) My question here is: Is this caused by Drupal website misconfiguration (or one of its modules) since website uses similar posts feature or it's something else. Duplicate content for example.com/index.php issue has been solved by redirects. Should something similar be done in case of tags / categories? Any discussion / suggestions on that matter are greatly appreciated. Thank you.
Moz Pro | | Optimal_Strategies0 -
We have a Wix site but I wonder if we would be better suited with square space
Our SEO has taken a hit in moving our website from homestead website builder to Wix this last year. 1,500 unique visitors a month to 400 on our website www.bestlifeint.com using much of the same SEO and content. I think 2 of our main issues now (site speed and SEO friendliness) would be addressed in the switch to squarespace. But I guess is it worth it? I do not think google likes the whole hash bang html5 ajax thing wix uses and our website relies heavily on good seo. Any advice? I am starting link building but it might be a waste if we switched the site and in turn changed all the page url's as wix uses ?! for it's pages. Just need some clarification ideas on getting traffic to our website, also SEO MOZ software is hard to use report card with wix. We also switched our ecommerce from homestead to shopify and this has been a good move. Shopify (our ecommerce actually gets more traffic than our website now. But the problem I feel is wix hurts our seo just by being on their platform. Seriously thinking of squarespace but feel we would have to start from scratch and just match some of the elements on current site. Any insight, ideas? Am I on the right path in my thinking? Should I just stick it out with Wix? Thanks. -Brian
Moz Pro | | SammisBest0 -
Site explorer Issue
Hello, I'm looking to see in the Site Explorer the links coming from directories such as BOW, yahoo etc. I'm listed there from almost 1 year and these links are not listed, the same with my competitors. I'm missing something? Thank you Claudio
Moz Pro | | SharewarePros0 -
Need Good Idea for my new site SEO strategy.
Hello, I register new domain and i research on keywords and got 16 keywords for 16 pages one keyword for every page.
Moz Pro | | wildcat143
now i want SEO of my site please give me some good idea how to do my white hat SEO of my website? 16 pages + 16 keywords
How many backlinks submission i can do daily base? Directory submission?
Social bookmarking submission?
Blog comment?
Articles submission?
any more..................... Hope you will give me positive response. Thanks0 -
Is there a way to pull ALL rankings for a site for a set of keywords?
I'm fairly new to SEOMoz, and am looking for a way to pull all rankings for a site with the keywords I've listed, not just the top ranking. So for instance if my site ranks for the keyword "widget maker in MO" in two spots. The current rank report will only show me the top result. I know I can click on each keyword individually and see a full list of the top 50, but I'm looking for a more automated way of doing this (I'm the only SEO at my agency and time is an issue). I previously used Advanced Web Ranking and the tool would like me pull a CSV of the top 30 sites for each keyword I was tracking and then I could just search for my site and pull those results easier. Anyone know of a shortcut or report I should use? Thanks!
Moz Pro | | OsbornBarr0 -
Why won't scheduled crawl of my site begin?
I currently have a campaign running on SEOMoz for over a month. It has been showing that a crawl was scheduled to start on 12/21. Now it's 12/23 and there has not been a new crawl, and it still says scheduled for 12/21.. Anyone know why this is happening or how to fix it? Thanks
Moz Pro | | Prime850 -
When does Open Site Explorer automatically follow a redirect?
Does anyone know what determines when Open Site Explorer will ask if you meant to type in the redirected URL or when it will automatically change the URL to the www version. example of a site I get asked the redirect question: http://www.opensiteexplorer.org/comparisons.html?site=checkbook.org Oh Hey! It looks like that URL redirects to www.checkbook.org/. Would you like to see data for <a class="clickable redirects">that URL instead</a>? example of a site that redirects automatically: http://www.opensiteexplorer.org/comparisons.html?site=healthleap.com
Moz Pro | | irvingw1 -
Is there a Tool to compare Duplicate content for non web Live content?
Is there a tool that can give me % of duplicate content when comparing two pieces of content that are not Live on the web? Like copyscape but for content that may not be indexed by copyscape or not live on the web? Does Word or any other program allow you do do this?
Moz Pro | | bozzie3110