How does one know where to insert the right strips of coding on the right pages for Canonical Links?
-
On my Website, I am the only SEO optimizer wizard person. I have to teach myself everything and I get overwhelmed a lot. I recently started using SEOMOZ and on my report it stated we had duplicate page titles and that it was bad and should be fixed quickly. So I did my research and found that I needed to use canonical links to reference one page to be indexed. However my problem lies in exactly how to add this coding to my site. I greatly appreciate any help or at least looking at this question.
-
Hey Justin,
Basically the bots follow the links so it might follow example.com and example.com/index.html once it get to your actual page it then reads the canonical tag which indicates which version is the correct version to use.
Hope that helps
-
Hi Justin,
Yes you have to use the code on all pages that are marked as duplicate. So for example if you have 5 pages shoeing as duplicate content you will have one as main page or the master or whatever you want to call it. You tehn place the code supplied by Aaran and Craig in the head section of the other 4 pages.
D
-
Thanks for the coding, I still have a part left hanging at least maybe in my own mind it is. How does that strip of code reference the correct pages together? Does it just see there are duplicate pages and bundle them for the Search Engine? or do I have to place other codes in my site to target those pages?
-
Hey
Quite easy really just add the following snippet
rel="canonical" href="Your URL Here" />
This should be placed between the tags of the page.
BUT.......
Make sure you are using this correctly, if you have duplicate page titles due to canonicalisation (http://www.seomoz.org/beginners-guide-to-seo/basics-of-search-engine-friendly-design-and-development) then that's fine but if its just because you have duplicate page titles across your pages then they need to be rewritten.
Hope that helps
-
This is the format of the canonical tag
You have to add this within the tags. But to getting the current page URL involves dynamic scripting and it depends on which CMS you are using.
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
-
301 Redirect and Canonical link tag pointing in opposite directions!
I'm working on a site which redirects the non-WWW version to WWW version so, for example https://website.com/page redirects to https://www.website.com/page However, canonical link tags have been set up on the page - pointing back to the non-WWW so for example Q - is this going to cause issues and should the canonical be updated to the same version as the redirect?
Intermediate & Advanced SEO | | SWEMII0 -
Pull multiple link data for multiple pages at once?
Hi guys, I was wondering if there is a tool or way to pull link data for a list of URLs/Pages at once to one single file with ahrefs or majestic. I know scrapebox can do this with OSE, but looking for a way to do this with the other backlink databases. Any ideas? Cheers. Hi guys, I was wondering if there is a tool or way to pull link data for a list of URLs/Pages at once to one single file with ahrefs or majestic. I know scrapebox can do this with OSE, but looking for a way to do this with the other backlink databases. Any ideas? Cheers.
Intermediate & Advanced SEO | | jayoliverwright0 -
Two Similar Profile Pages: One Ranks 2 in Google - The Other 150
My client's site has a directory of doctors on it's site and they are targeting weight loss surgery patients. The problem is that when searching "weight loss surgeon richmond va" one of the doctor's profiles ranks 2nd in Google organic results while the other is not even in the first 10 pages. Both have very similar link profiles and I have checked all the technical things like noindex tags, canonicals, etc to see if that might be the problem but it all checked out. The second doctor's profile IS indexed in Google, just not ranking. We have done a lot of work to push his profile page up in the rankings but all efforts seem to have fallen short. Here are the profiles: http://advancedsurgicalpartnersofva.com/physicians/profile/Gregory-L-Schroder-MD - ranks 2 in Google http://advancedsurgicalpartnersofva.com/physicians/profile/Matthew-Brengman-MD-FACS - does not rank Any ideas would be much appreciated!
Intermediate & Advanced SEO | | chrisvogel0 -
302 to a page and rel=canonical back to the original (to preserve url juice)?
Bit of a weird case, but let me explain. We use unbounce.com to create our landing pages, which are on a separate sub-domain (get.domain.com).
Intermediate & Advanced SEO | | dragonlawhq
Some of these landing pages have a substantial amount of useful information and are part of our content building strategy (our content marketers are able to deploy them without going through the dev team cycle). We'd like to make sure the seo page-juice is counting towards our primary domain and not the subdomain.
(It would also help if we one day stop using unbounce and just migrate our landing page content to our primary website). Would it be an SEO faux-pas to do the following:
domain.com/awesome-page ---[302]---> get.domain.com/awesome-page
get.domain.com/awesome-page ---[rel=canonical]---> domain.com/awesome-page My understanding is that our primary domain would hold all the "page juice" whilst sending users to the unbounce landing page - and the day we stop using unbounce, we just kill the redirect and host the content on our primary domain.0 -
Unnatural links to your site—impacts links
I got message in my Google webmaster tool: Unnatural links to your site—impacts links Does anyone knows the difference between "Unnatural links to your site—impacts links" and "Unnatural links to your site" Thank you Sina
Intermediate & Advanced SEO | | SinaKashani0 -
We are moving one website to a different domain and would like to know what is the best way to do it without hurting SEO
The website we want to move, let's say www.olddomain.com has a low quality back links profile, in fact it received a manual notification from google of unnatural links detected; but the home page has a PR 3. We want to move it to a different domain let's say www.newdomain.com. We would like to know if it's better to do a 301 redirect to the new domain, in order to transfer the link juice or if it would be better to do a 302, taking into account that this redirect won't pass any link juice, so it would be like start from scratch with this new domain. Thanks for your help.
Intermediate & Advanced SEO | | DoitWiser0 -
How to Remove Joomla Canonical and Duplicate Page Content
I've attempted to follow advice from the Q&A section. Currently on the site www.cherrycreekspine.com, I've edited the .htaccess file to help with 301s - all pages redirect to www.cherrycreekspine.com. Secondly, I'd added the canonical statement in the header of the web pages. I have cut the Duplicate Page Content in half ... now I have a remaining 40 pages to fix up. This is my practice site to try and understand what SEOmoz can do for me. I've looked at some of your videos on Youtube ... I feel like I'm scrambling around to the Q&A and the internet to understand this product. I'm reading the beginners guide.... any other resources would be helpful.
Intermediate & Advanced SEO | | deskstudio0 -
Link Building for "State" informational pages
I have a webpage for all 50 states for specific info relating to relocation and was wondering if there are any recommended links to work at getting for these pages. I would like to do "state" specific and possibly health related links for each page to help in the SEO rankings. I can see that if I just wanted to get 10 links on each page that is going to be 500 links I have to build and it is going to be very time consuming but I feel it is necessary. Thank you, Poo
Intermediate & Advanced SEO | | Boodreaux0