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
-
Moz can't see my link from an external site
Hi, I'm hoping someone can shed some light on this. I've had a followed link created from http://www.dubaisharks.com/ pointing to my website - http://www.yallarugby.com but in the reports it doesn't show that there is a link coming fro this website. The link has been active for a few months now, but still no record of it. Any ideas?
Moz Pro | | SeoSheikh0 -
Huge spike in crawl errors today - mozbot ignoring noindex tag?
Hi Mozzers, Today I received a ton of errors and warnings in my weekly crawl due to the mozbot crawling my noindex'd search results pages, such as this - http://www.consumerbase.com/Mailing-Lists.html?q=Construction&type=bus&channel=all&page=7&order=title&orderBy=DESC See image: http://screencast.com/t/qaZzq78j2Udx Anyone else seen a similar error this week with their crawl? Thanks!
Moz Pro | | Travis-W0 -
Why would only 1 pg of an 18 pg site be crawled?
I signed up yesterday. Added 4 sites. The one I really need data on now has only had 1 page crawled. The other sites have had almost all pages crawled (over 40 each) in one day. What is wrong? The main domain has a 301 redirect to another domain name is that the problem? Is there something wrong at Google analytics? I dont manage this site and I'm picking up behind another firm..where should I start my discovery? Thanks so much!
Moz Pro | | moreidea0 -
Why does Rel Canonical show up as a notice?
In the crawl diagnostics screen "Rel Canonical" shows up as a notice for every page that has a rel="canonical" meta tag in it. Why is this the case? Shouldn't every page have a canonical tag on it to show the absolute URL to the content? Wouldn't a better notice be to display pages that do not have a canonical tag instead? I could be wrong but that would make more sense to me. (In fact.. let's be honest here.. I probably am wrong.. but I'd like someone to explain it if they could.) Thanks
Moz Pro | | rrolfe1 -
Strange nothing site ranking
Hi There. If you check who ranks for "credit cards" there is a website https://www.woolworthsmoney.com.au/ that is in position #5 This is a highly competitive keyword, but OpenSiteExporer.org cannot give me any backlinks for it. it says "No Data Available for this URL" The same thing happens in Market Samurai - no data 1. What are these guys doing that the others are not? 2. How come OSE can't pull any data for it?
Moz Pro | | SearchProduct0 -
Title tag discrepancy - is this a Yoast or SEOMoz thing?
Just took on a WP site using Yoast - need help understanding the title tag. SEOMoz reports that the HP title tag is 159 characters, but there are only 60 characters entered in the plug-in field and GWT reports no "too long" title tags. Is this a Yoast thing? Wordpress: San Diego Plumbing, Heating and Air Conditioning Specialists (60) Google Webmaster Tools – reporting 0 titles too long SEO Moz: San Diego Plumbing, Heating and Air Conditioning Specialists | Anderson Plumbing Heating and Air » San Diego Plumbing, Heating and Air Conditioning Specialists (159)
Moz Pro | | vernonmack0 -
Open Site Explorer Question!
Hi, I have performed a search on a root domain and the page auth is higher then the domain auth? I would have thought they would have been the same or at least the other way around!
Moz Pro | | activitysuper0 -
Meta description tag in rss xml file?
The SEOmoz crawl diagnostic tool is complaining that I'm missing a meta description tag from a file that is an RSS xml file. In my <channel>section I do have a <description>tag. Is this a bug in the SEOmoz tool or do I need to add another tag to satisify the warning?</description></channel>
Moz Pro | | scanlin0