cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate content:

Duplicate content:

Some pages have two URLs which may be considered duplicate content by Google crawlers. When a users types a keyword google crawls the relevant pages and displays the results. ...If it finds the page with two URLs is confused which URL to pick

  1. Ex: link and link 2 both point to the same Web page So such should be avoided .can anyone help me on that.
7 REPLIES

Re: Duplicate content:

This can be solved by enabling the canonical tag from the admin side 
 
Follow the steps :-
 
Go to System -> Configuration -> Catatog -> Search Engine Optimizations 
 
Select the option "YES" for  1) Use Canonical Link Meta Tag For Categories 2) Use Canonical Link Meta Tag For Products
Elsner Technologies

Re: Duplicate content:

Hi,

Accessing same content via multiple URLs causes content duplication issue and it affects ranking. To prevent this duplicate content issue you should use "Canonical URLs". Canonical URLs tell the search engines that the URLs are actually one and same. For example, you have two links Link1 and Link2 which are pointing to the same page and you want Google to rank Link1 then use following Html tag

 

<link rel="canonical" href="Link1">

 

For more information, you can refer Google document on 

https://support.google.com/webmasters/answer/139066?hl=en.

Re: Duplicate content:

Can u plzzz elobrate dat am new to magento so plzz

Re: Duplicate content:

Can u plzzz explain me where exactly i should write dat link tag

Re: Duplicate content:

I alreadyy done broo but how to check wheather its wrking correctly r nt

Re: Duplicate content:

The canonical tag is part of the HTML header on a webpage. This is where we place other SEO tags like title tag, meta description tag and the robots tag


 Sample example structure will be like
       

<html>
       <head>
       <meta name="keywords" content="keyword content" />
       <meta name="robots" content="INDEX,FOLLOW" />
       <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css' />
       <link rel="canonical" href="YOUR CANONICAL LINK" />
       /*
        * Other stuffs
        */
       </head>
       <body>
       /*
        * Body stuffs
        */
       </body>
</html>


       The canonical tag will go in following file
       MAGENTO_DIRECTORY/app/design/frontend/*/template/page/html/head.phtml

After placing this tag refresh the cache and check. Best of Luck

Re: Duplicate content:

If you want to know about duplicate content and URL issues you can look in your Google Search Console or try a free trial on Moz and run a couple of scans.

 

If you have it enabled you will see the canonical link in the header of the page, you can inspect the page to see it.

Chris @ Rixxo
Magento Solution Specialist, 10 year Magento user, store owner and Agency Director