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
-
Links to external site (hotels link)
Hello, I am currently designing the webpages of my website and I am wondering if I should link externally or if it going to hurt me ? I am in the travel industry and for example in the France in the Loire valley, I want to list hotels that people can stay at in pre and pods trip. Is it ok to link to maybe 10 of those hotels websites or can it hurt me ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Canonical tag - link juice to the frontpage
I only wants to be 100% sure about using the canonical tag.. I want to use it on pages that rankes together with the frontpage in Google, but i only want the frontpage to rank alone and to have the link juice from the other 2 sites direct-ed to the frontpage.. Hope you agre that its the correct way to doo so?? Wich one is correct: http://www.testtest.com/”> Or this http://www.testtest.com/”/>
Intermediate & Advanced SEO | | seopeter290 -
Attribution of port number to canonical links...ok?
Hi all A query has recently been raised internally with regard to the use of canonical links. Due to CMS limitations with a client who's CMS is managed by a third party agency, canonical links are currently output with the port number attributed, e.g. example.com/page:80 ...as opposed to the correct absolute URL: example.com/page Note port number are not attributed to the actual page URLs. We have been advised that this canonical link functionality cannot be amended at present. My personal interpretation of canonical link requirements is that such a link should exactly match the absolute URL of the intended destination page, my query is does this extend to the attribution of port number to URLs. Is the likely impact of the inclusion of such potentially incorrect URLs likely to be the same as purely incorrect canonical links. Thanks
Intermediate & Advanced SEO | | 26ryan0 -
Optimize Pages for Keywords Prior to Building Links?
Greetings MOZ Community: According to site audit by a reputable SEO firm last November, my commercial real estate web site has a toxic link profile which is very weak (about 58% of links qualified as toxic). The SEO firm suggests than we immediately start pruning the link profile, requesting removal of the toxic links and eventually filing a link disavow file with Google for links that web masters will not agree to remove. While removing toxic links, the SEO firm proposes to simultaneously solicit very high quality links, to try to obtain 7-12 high quality links per month. My question is the following: is it putting the cart before the horse to work on link building without optimizing pages (with Yoast) for specific keywords? I would think that Google considers how each page is optimized for specific terms; which terms are used within the link structure, as well as terms within the meta tags. My site is partially optimized, but optimization has never been done thoroughly. Should the pages of the site be optimized for the top 25-30 terms before link building begins. Or can that be done at a later stage. Note that my link profile is pretty atrocious. My site at the moment is receiving about 1,000 unique visitors a week from organic search. However 70% of the traffic is from terms that are not relevant. The firm that did my audit claims that removal of the toxic links while building some new links is imperative and that optimization for keywords can wait somewhat. Any thoughts?/ Thanks for your assistance. Alan
Intermediate & Advanced SEO | | Kingalan10 -
HELP! How does one prevent regional pages as being counted as "duplicate content," "duplicate meta descriptions," et cetera...?
The organization I am working with has multiple versions of its website geared towards the different regions. US - http://www.orionhealth.com/ CA - http://www.orionhealth.com/ca/ DE - http://www.orionhealth.com/de/ UK - http://www.orionhealth.com/uk/ AU - http://www.orionhealth.com/au/ NZ - http://www.orionhealth.com/nz/ Some of these sites have very similar pages which are registering as duplicate content, meta descriptions and titles. Two examples are: http://www.orionhealth.com/terms-and-conditions http://www.orionhealth.com/uk/terms-and-conditions Now even though the content is the same, the navigation is different since each region has different product options / services, so a redirect won't work since the navigation on the main US site is different from the navigation for the UK site. A rel=canonical seems like a viable option, but (correct me if I'm wrong) it tells search engines to only index the main page, in this case, it would be the US version, but I still want the UK site to appear to search engines. So what is the proper way of treating similar pages accross different regional directories? Any insight would be GREATLY appreciated! Thank you!
Intermediate & Advanced SEO | | Scratch_MM0 -
Canonical use when dynamically placing items on "all products" page
Hi all, We're trying to get our canonical situation straightened out. We have a section of our site with 100 product pages in it (in our case a city with hotels that we've reviewed), and we have a single page where we list them all out--an "all products" page called "all.html." However, because we have 100 and that's a lot for a user to see at once, we plan to first show only 50 on "all.html." When the user scrolls down to the bottom, we use AJAX to place another 50 on the page (these come from another page called "more.html" and are placed onto "all.html"). So, as you scroll down from the front end, you see "all.html" with 100 listings. We have other listings pages that are sorted and filtered subsets of this list with little or no unique content. Thus, we want to place a canonical on those pages. Question: Should the canonical point to "all.html"? Would spiders get confused, because they see that all.html is only half the listings? Is it dangerous to dynamically place content on a page that's used as a canonical? Is this a non-issue? Thanks, Tom
Intermediate & Advanced SEO | | TomNYC0 -
Can I consolidate tasty link juice from several categories to one?
I have two categories currently "Men's Christian Jewellery" and "Women's Christian Jewellery" but neither pick up search engine traffic as well as just "Christian Jewellery" as a unisex category. My question is this; if I create a new category "Christian Jewellery" but then remove the two others and create 301 redirects from them to this new category, will this transfer all of the juice from the other pages to this new one? Thanks in advance for any replies! 🙂
Intermediate & Advanced SEO | | acecream0 -
Where does link authority get passed to a stand alone landing page
Hi All, We are currently building a landing page that contains a bunch of funny top 10's, some that aren’t suitable for all customers, it can only be accessed from a PR source or recipient of one of our emails. The question I have is; where will the authority gained from people linking to this page go? Would it be passed to the home page, if there’s a link to it? Or would you recommend a way to control it? Any insight welcome. Cheers Neal
Intermediate & Advanced SEO | | Exclaimer-2868850