Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

com_frontpage and com_content duplicate content
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: com_frontpage and com_content duplicate content

com_frontpage and com_content duplicate content 17 years, 5 months ago #2772

Hi, I have issue with duplicate content when having frontpage and content on multiple page.

typically I have
index.php?option=com_frontpage&Itemid=1 and
index.php?option=com_frontpage&limit=60&limitstart=0&Itemid=1
that results in 2 différents URL but it is the same page ...

Is there a way to get the same url with a hack in com_frontpage url rewriting : if limitstart = 0 then don't take into account limit and limistart so I get the same URL ?

this is the same with
index.php?option=com_content&id=41&task=blogcategory&Itemid=40
and
index.php?option=com_content&id=41&limit=6&limitstart=0&task=blogcategory&Itemid=40

I think this is particulary bad for google as it will be considered as duplicate content ...

Re:com_frontpage and com_content duplicate content 17 years, 5 months ago #2773

  • dajo
  • OFFLINE
  • Posts: 5069
Hi furet,

I think your suggestion might work just like you wrote. Adding following line just before $string = sef_404::sefGetLocation should do the trick.
if (isset($limitstart) && ($limitstart == 0))  unset($limit, $limitstart);


I think the same could be used for com_content extension.

Regards,
David<br><br>Post edited by: david, at: 2007/08/01 12:51
ARTIO Support Team

Re:com_frontpage and com_content duplicate content 17 years, 5 months ago #2775

Hi

I had a try and it doesn't work properly
I still get the same results with

 
if (isset($limitstart) &amp;&amp; ($limitstart == 0)) unset($limit, $limitstart);
 


I had a tweak for homepage and I tried
 
if (isset($limitstart) &amp;&amp; ($limitstart == 0))
{
return \&quot;\&quot;;
}
 
 

and it works as I expect I have the same URL : www.mysite.com/ for both
index.php?option=com_frontpage&amp;limit=60&amp;limitstart=0&amp;Itemid=1
and index.php?option=com_frontpage&amp;Itemid=1

But it is not clean solution. I'm really new at php so i'm not able to investiguate more. Do you see something ?
  • Page:
  • 1
User Login Empty