Jump to content

Problem with duplicated pages


Denisnadal

Recommended Posts

Hi,

 

 

This is the url of my web:

https://fontdevida.com/

 

My problem: All of the products pages are duplicated and I don't know why:

 

https://fontdevida.com/infusiones-alma/722-infusion-manzanilla-alma.html?content_only=1

https://fontdevida.com/infusiones-alma/722-infusion-manzanilla-alma.html

 

In robots txt I disallow the urls with "?content_only=1" an Google doesn't index. Is good but not perfect, I want to keep this pages. why exists?

 

I think the pages ("?content_only=1") have a relation with the button for "print product", I deleted this button because I don't need, but not is enough, I want to delete the pages.

 

Someone have any idea?

 

thanks

Link to comment
Share on other sites

Hi ps20

 

No, all of the products have two pages, I want redirect all the pages with "content_only=1" termination to home page

 

https://fontdevida.com/comprar-bebidas-vegetales-ecologicas/516-bebida-de-almendras-ecomil-1l.html

 

https://fontdevida.com/comprar-bebidas-vegetales-ecologicas/516-bebida-de-almendras-ecomil-1l.html?content_only=1

 

Thanks

  • Like 1
Link to comment
Share on other sites

 

In robots txt I disallow the urls with "?content_only=1" an Google doesn't index. Is good but not perfect, I want to keep this pages. why exists?

 

 

Denis I think you are wrong, you don´t have dupplicate web, the web is the same, I think actually are you who is duplicating your websites and  confusing to google robot.

 

Of course you can call to your webs with ?content_only=1 well... this is typically used to create pop-up websites, but you should not set up independently in google (you must block them it robots)

 
Also I think that these sites are not good for the google indexing , if a customer comes to one of them is very easy not to continue browsing your store, "?content_only=1" is not made for that
 
In any case this is sólo mi opinión  :)
Link to comment
Share on other sites

hi

your website is very bad more DC,

- try to make actions in your htacces or robot.txt to deny acces to ?qty..., ?content_only...

- verified the element which is indexed in your sitemaps and make restrictions

- verified il your have some addon who générate this issue

- make audit for your theme

- work with google webmaster and try to remove manualy the bad links

 

regards

Link to comment
Share on other sites

I think you alreay found a solution. I see that the "content_only" page shows correct content - in some themes it is ignored and shows the full content.

 

The best way to filter that is the robots.txt file and the rule:

Disallow: /*content_only=

 

This is equivalent to nofollow, noindex

 

It is interesting how google managed to index that page, may be it is part of iframe/popup or something. 

Usually this does not happens and that's why PrestaShop did not added that "disallow" record in robots.txt

Edited by PrestaShopDeveloper (see edit history)
Link to comment
Share on other sites

Thanks a lot for all of your answers I'm happy for that.

 

 

Moraira: thanks a lot for your opinion, I put Disallow: /*content_only= in robots txt.

 

Vekia: When I check Semrush he register a lot of reports with this pages. I'm worried about potential DC and SEO.

 

Ernestto: I'm not sure if I have canonical url. How I can see?

 

Crystal Services: Thanks for the instruccions.

 

PrestashopDeveloper: Thanks a lot for your comment, I put Disallow: /*content_only= in robots txt. 

 

 

 

Then, put disallow in robots txt is the solution? I can do more things to go better?

 

 

Thank you very much

  • Like 1
Link to comment
Share on other sites

On 11/24/2014 at 6:38 AM, Denisnadal said:

Thanks a lot for all of your answers I'm happy for that.

 

 

Moraira: thanks a lot for your opinion, I put Disallow: /*content_only= in robots txt.

 

Vekia: When I check Semrush he register a lot of reports with this pages. I'm worried about potential DC and SEO.

 

Ernestto: I'm not sure if I have canonical url. How I can see?

 

Crystal Services: Thanks for the instruccions.

 

PrestashopDeveloper: Thanks a lot for your comment, I put Disallow: /*content_only= in robots txt. 

 

 

 

Then, put disallow in robots txt is the solution? I can do more things to go better?

 

 

Thank you very much

May be you can use this solution:

 

 

http://www.develop-site.com/es/node/724

 

Edited by ernestto (see edit history)
Link to comment
Share on other sites

Hi Denisnadal,

you bought theme from leo (this guy is a disaster for seo)?

 

Check in yor header tpl row (if you have this row ....   {if isset($content_only) && $content_only} content_only{/if}): 

 

<body {if isset($page_name)} ....  {if isset($content_only) && $content_only} content_only{/if} >

{if !isset($content_only) || !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country">
<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country|escape:'html':'UTF-8'}</span></p>
</div>
{/if}
Link to comment
Share on other sites

Hi lightsb,

 

Thank for your replies, I have this code in my header.tpl of the leotheme, but I don't know very well what I can do, is difficult.

 

<body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$LEO_BGPATTERN} fs{$FONT_SIZE} {if isset($page_name)}{$page_name|escape:'htmlall':'UTF-8'}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} keep-header ">

<a href="https://plus.google.com/105410894409725043557" rel="publisher"></a>

<p style="display: block;" id="back-top"> <a href="#top"><span></span></a> </p>

{if !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>

</div>

{/if}

 

I put the other code before #dispatcher and this pages dissapear, is perfect thanks! 

Link to comment
Share on other sites

One week ago I put the next code in the head.tpl but yesterday I created new products, and today I have more duplicated pages in google webmaster. All of the pages with content_only=1 are indexed and google say:

 

Páginas con metadescripciones duplicadas



 

<!-- canonical -->

{if $page_name == 'index' or $page_name == 'search'}

  <link rel="canonical" href="{$base_dir}" />

{elseif $page_name == 'category' or $page_name == 'best-sales'

 or $page_name == 'cart' or $page_name == 'discount'

 or $page_name == 'manufacturer' or $page_name == 'new-products' 

or $page_name == 'prices-drop'}

  <link rel="canonical" 

href="{$base_dir}{$request_uri|substr:1|regex_replace:

'/\/(.*)/':''|regex_replace:'/\?(.*)/':''}" />

 

{else}

  <link rel="canonical" href="{$base_dir}{$request_uri|substr:1}" />

{/if}

<!-- /canonical -->

 

this code don't solved the problem. Anybody know if this code is ok?
Link to comment
Share on other sites

Hi,  From what I can see in the source code of the page, my best take is that your "duplicate content" looks like its derived from the quick views on the bottom of the product page.  Are these necessary to your site?  If not, perhaps disable them till you get a better solution.  Here's an example of the code that I think is linked to those duplicate content issues.  See especially the comment that I highlighted in red:

	<div class="product-container">
						<div class="image">
							<a href="https://fontdevida.com/infusiones-alma/724-infusion-frutas-del-bosque-alma.html" title="Infusión frutas del bosque Alma" class="product_image">
								<img src="https://fontdevida.com/782-home_default/infusion-frutas-del-bosque-alma.jpg" height="" width="" alt="Infusión frutas del bosque Alma" />
								<span class="product-additional" rel="724"></span>
							</a>
														<div class="product_bottom hidden-xs">								
								<!--<a class="quick-view" title="Quick View" href="https://fontdevida.com/infusiones-alma/724-infusion-frutas-del-bosque-alma.html?content_only=1">
									<i class="fa fa-search-plus opa lupa"></i>
									 </a>-->
							</div> 
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...