The Joomla! Forum ™

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Duplicate pages
PostPosted: Thu Apr 05, 2012 11:40 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jul 19, 2011 8:56 am
Posts: 181
Location: Monaco
I have SEF and system - aceSEF on my site. I have a duplicate page problem.

I would like to resolve this with a canonical link extension.

Can anyone recommend the best extension, as there seem to be many out there (without reviews, which I usually rely heavily on)


***** Manual signatures are NOT allowed ***** - web development - realizzazione siti web

Reply with quote  
 Post subject: Re: Duplicate pages
PostPosted: Fri Jan 11, 2013 8:47 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 11, 2013 6:51 am
Posts: 6
Location: North Carolina
Dealing with Duplicate Pages

NOTE: Let me start out by saying I don't have a ton of experience with coding, so this may not be the best (or even right) way to do this, but after a day of working on it, this is what I believe works.

A. When I create an article in Joomla, for whatever reason, Joomla creates duplicate pages. Sometimes it creates multiple paths using the “Categories” I created in Joomla. When Google indexes my website and finds these different paths to the same article, it considers them as duplicate pages. For example, Google assumes I have duplicate pages when it finds the same article in each of these places:
http://www.m2820 . com/conferences/teaching-sunday-school
http://www.m2820 . com/teaching-sunday-school/index.php?option=com_content&view=article&id=1&Itemid=101

B. I can tell Google which page should be considered to be the master or original page that I want it to index and which pages it should ignore. I do this by using the rel=“canonical” link. This code should be placed on the non-canonical or on the duplicate pages, but I’m assuming (hoping?) it can also be placed on the original pages since that is the only ones I know how to gain access to. All the other pages are created by Joomla itself.

– For an explanation of using <link rel="canonical " href="your webaddress " /> see: ... wer=139394
– Example:
<link rel="canonical" href=""/>

C. The <link ...> tag needs to be inserted into the <head> tag for each page and you can do this using Joomla’s JdocumentHTML/addCustomTag. See:

D. The JDocumentHTML is PHP code, so you need a way to insert it into the header <head>. NoNumber’s free version of Sourcerer will do this ( ).

Install Sourcerer, then add the code below in your article. Note, you add it as regular text, not has HTML text. In other words, type it in as you would any other text. Don’t toggle the editor so you can see the HTML code that makes up the article.

• Instructions: ... -html-page

• Example code to add to article:
– You wrap the code you want in the header between Sourcerer’s {source} tags.
{source}<?php $doc->addCustomTag( '<link rel="canonical" href="";/>' );?>{/source}

• This is the code that was added to the header:
<link rel="canonical" href=""/>

Hope this helps anyone else trying to figure this out.

Brad Simon
Sunday School Teacher Training

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group