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
-
Site Not Cached By Google
Hi My name is Apoorwa and i have my own website, My website is not cached by google, Why is this problem happening with my site.can somebody help me please? its urgent....this is my site - http://www.holifestival.org/Please assist me.......
Moz Pro | | Packersmove0 -
Why my site so poorly ranks on Google
Hi 🙂 I hope you can help me for my site http://www.majordroid.com/ I really do not understand why my site so poorly ranks on Google. What can I do about that? Are there any errors or something? What can be done about that? Also when I go to the Moz Tools - Open Site Explorer to check how many backlinks I have... It says: 12 Total Links but according to the Google Webmaster tools I have in total 334 links and 138 links to the homepage. see attachment Why Open Site Explorer does not see all the links to my site, which is a possible reason? And last question, what I need to do to remove pages from Google search like this: <cite class="_Rm">/page/2</cite>. <cite class="_Rm">/page/3 and so on...</cite> Thank you 🙂 aK0x345.jpg
Moz Pro | | ivek19870 -
Why is my site not ranking?
I have done various link building strategies, and used all white hat seo methods. SEOMoz even shows that my site is better than all my competition, but yet it doesn't rank ANYWHERE on Google. Can someone point me in the right direction as to why this is happening? I have attached the opensitexplorer screenshot showing my competition. 2013-02-13_1456_zpsb86ab0e1.png
Moz Pro | | locallyrank0 -
Tools that crawl 2 million page sites
Our site is about 2million pages deep, 50% of which is stale content. Yes, I know - OMG #unhygienic. Even if we get approval to get rid of half of it. SEOMoz Pro Elite only crawls 20k deep - what can i do to crawl and diagnose the whole site. Are there any tools anyone can suggest. SEOMoz??
Moz Pro | | ilhaam0 -
Looking for Advice on SEO for Minimilistic Site
Hi everyone, I found this site and it looks like a great place for us to start, we have just opened the doors to our new website fenwaymedia thats a dot co dot uk. Now Ihave tried to maintain the most minimilistic design throughout but I believe with this comes certain drawbacks - - - - S E O which is why i am here. My thought were that I would draw my clients from the Web Design, web Marketing & Blog page which I will starting in 3 hours be constantly updating. but Im not sure Im doing the right thing. I am trying to target Edinburgh, Scotland although we would take work from anywhere, if anyone could spare us a moment, I would greatly appreciate any help, tips or comments that might help us attain some visibility. Thanks in advance and thanks for looking. Kind regards, Craig
Moz Pro | | fenwaymedia0 -
How long do old links stay in Open SIte Explorer stats?
Hi, In Open Site Explorer has around 2000 External followed links which would be great if it was true. I think the issue is that before my site wasn't appending slashes to the url so I think it was counting links from http://mydomain/page1 to http://mydomain/page2/ as an external link (could be wrong here). I corrected this a couple of months ago but I still seem to have over 2000 External links. When I look at the linking pages many of them are "sans slash" and have old anchor text in the link. How long does it take of OSE to update these stale links it there any way I can prompt it to take aciton?
Moz Pro | | moesian0 -
Internal links not showing in Open Site Explorer
So I'm working on a law firm site and looking at the links for pages in OSE. For practice areas, the links to each practice area are in the left hand menu on every page of the site. Can anyone help me with this question: Example: http://www.comitzlaw.com/personal-injury/car-accidents.html When I plug this URL into OSE, it only shows one linking page, www.comitzlaw.com/practice-areas.html, yet there is a link to this on every other page in the site. When I plug in a random competitors page, www.lesagelblaw.com/Personal-Injury-Overview/Car-Accidents.shtml, it does show all the internal pages linking to it. Since I'm not using a flash menu or javascript, any ideas as to why no internal links are showing up in OSE? Even when I plug in the main URL for the home page, it only shows 4 other internal pages linking to it, yet there is a link on every page. What am I doing wrong?
Moz Pro | | c2g0 -
Tool which shows site ranking for a given keyword
Hi all. I have a client with a specific request and wanted to ask if there is a reliable tool which allows a user to enter a given site and keyword, and it will return the site's ranking for that keyword. More specifically: Needs to work for Google, Yahoo and Bing Needs to work for various countries such as Google.ca, Google.it, etc. Needs to show at least the top ?10k rankings, not just the top 50 The last requirement is the challenge. I clearly recognize anything past the top 50 or so ranks is really off the map, but the client would like to view his current standings.
Moz Pro | | RyanKent0