Denisnadal Posted November 17, 2014 Share Posted November 17, 2014 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 More sharing options...
Denisnadal Posted November 19, 2014 Author Share Posted November 19, 2014 Help please I'm lost in the sea! Link to comment Share on other sites More sharing options...
Denisnadal Posted November 19, 2014 Author Share Posted November 19, 2014 I want to do because Semrush give me errors, 3.624 pages with duplicated content! Link to comment Share on other sites More sharing options...
vekia Posted November 19, 2014 Share Posted November 19, 2014 hello it's not possible to disable these pages it's a feature in prestashop for example - for quick view feature what you exactly expect now? to block / redirect 301 pages with content_only variable ? 1 Link to comment Share on other sites More sharing options...
Denisnadal Posted November 19, 2014 Author Share Posted November 19, 2014 Hello Vekia, Merci for the answer. I don't know what is the best action to do. What do you think about the problem? Which of these actions eliminates duplicated content? Thanks a lot! Link to comment Share on other sites More sharing options...
Denisnadal Posted November 20, 2014 Author Share Posted November 20, 2014 I want to redirect to home page, in the htacces maybe? Is very difficult. I put this code in htacces but not run: RewriteEngine On RewriteCond %{QUERY_STRING} ^content_only=1$ RewriteRule ^$ https://fontdevida.com/$ [R=301,L] Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2014 Share Posted November 20, 2014 but with 301 redirect quick view will not work well, the same with terms and conditions popup, quick view etc. Link to comment Share on other sites More sharing options...
Denisnadal Posted November 21, 2014 Author Share Posted November 21, 2014 I don't have these options, quick view or popups. What do you do with this pages usually? The pages with content_only=1 give me SEO errors in Semrush. Is this normal? This problem give me crazy. Thanks Vekia Link to comment Share on other sites More sharing options...
ps20 Posted November 21, 2014 Share Posted November 21, 2014 301 redirect https://fontdevida.com/infusiones-alma/722-infusion-manzanilla-alma.html?content_only=1 to https://fontdevida.com/infusiones-alma/722-infusion-manzanilla-alma.html will solve your issue ? Link to comment Share on other sites More sharing options...
Denisnadal Posted November 21, 2014 Author Share Posted November 21, 2014 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 1 Link to comment Share on other sites More sharing options...
Denisnadal Posted November 21, 2014 Author Share Posted November 21, 2014 Nobody know the solution¿? help please Im lost Link to comment Share on other sites More sharing options...
moraira Posted November 21, 2014 Share Posted November 21, 2014 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 More sharing options...
ernestto Posted November 22, 2014 Share Posted November 22, 2014 Nobody know the solution¿? help please Im lost Do you try setting a canonical URL? Link to comment Share on other sites More sharing options...
vekia Posted November 22, 2014 Share Posted November 22, 2014 i analysed the problem and i agree with moraira but i have question to Denisnadal you've got some reports that your pages are duplicated? or you just are worried about potential DC ? Link to comment Share on other sites More sharing options...
crystals-services Posted November 22, 2014 Share Posted November 22, 2014 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 More sharing options...
PrestaShopDeveloper Posted November 23, 2014 Share Posted November 23, 2014 (edited) 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 November 23, 2014 by PrestaShopDeveloper (see edit history) Link to comment Share on other sites More sharing options...
Denisnadal Posted November 24, 2014 Author Share Posted November 24, 2014 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 1 Link to comment Share on other sites More sharing options...
Denisnadal Posted November 24, 2014 Author Share Posted November 24, 2014 But, I check my web with semrush, with disallow content only in robots txt and Semrush say 3520 pages have been blocked from crawling And this pages are content=only pages, Why? Link to comment Share on other sites More sharing options...
lightsb Posted November 28, 2014 Share Posted November 28, 2014 Any news for this major bug ? Thx Link to comment Share on other sites More sharing options...
ernestto Posted November 29, 2014 Share Posted November 29, 2014 (edited) 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 January 21, 2019 by ernestto (see edit history) Link to comment Share on other sites More sharing options...
Krishkv Posted December 1, 2014 Share Posted December 1, 2014 Yes, agreed to Ernestto. In point of views for any duplicate/same content existing pages, Canonical is the solution. Place canonical tag and get rid of them. Link to comment Share on other sites More sharing options...
lightsb Posted December 1, 2014 Share Posted December 1, 2014 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 More sharing options...
Denisnadal Posted December 1, 2014 Author Share Posted December 1, 2014 gracias! Link to comment Share on other sites More sharing options...
lightsb Posted December 2, 2014 Share Posted December 2, 2014 and put in htaccess before # Dispatcher: RewriteCond %{QUERY_STRING} (.*)(^content_only=1&?|^&content_only=1&|&content_only=1)$(&?.*)$ RewriteRule (.*) %{REQUEST_URI}?%1%3 [L,R=301] Link to comment Share on other sites More sharing options...
Denisnadal Posted December 3, 2014 Author Share Posted December 3, 2014 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 More sharing options...
lightsb Posted December 4, 2014 Share Posted December 4, 2014 hi, is ok ... in my theme i don't have this line ... Link to comment Share on other sites More sharing options...
Denisnadal Posted December 5, 2014 Author Share Posted December 5, 2014 ooh ok. Do you know how does this code exactly work? thanks Link to comment Share on other sites More sharing options...
Denisnadal Posted December 5, 2014 Author Share Posted December 5, 2014 Why detect google webmasterstools duplicated content? I don't understand! aarrrgh Link to comment Share on other sites More sharing options...
Denisnadal Posted December 5, 2014 Author Share Posted December 5, 2014 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 /comprar-caldos-sopas-pures-cremas-ecologicos/194-tapioca-semola-500-gr-biogra.html /comprar-caldos-sopas-pures-cremas-ecologicos/194-tapioca-semola-500-gr-biogra.html?content_only=1 <!-- 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 More sharing options...
Liliana M Posted December 6, 2014 Share Posted December 6, 2014 Hi Denisnadal, Check this articule from google Webmaster tools. Duplicate content https://support.google.com/webmasters/answer/66359?hl=en Lily Link to comment Share on other sites More sharing options...
Denisnadal Posted December 9, 2014 Author Share Posted December 9, 2014 Yes, I readed the information, but my problem is only with pages "content_only" Link to comment Share on other sites More sharing options...
Denisnadal Posted December 9, 2014 Author Share Posted December 9, 2014 What do you thing about this module? http://addons.prestashop.com/es/seo-modulos-prestashop/7228-duplicate-content-handler.html Link to comment Share on other sites More sharing options...
mikewra Posted December 9, 2014 Share Posted December 9, 2014 Perhaps a simplistic suggestion as I see all the other advice is on a higher order, but did you set Redirect to the canonical URL in the back office at Preferences -> SEO & URLs -> Set up URLs Link to comment Share on other sites More sharing options...
Denisnadal Posted December 9, 2014 Author Share Posted December 9, 2014 yes, I know, but I think that my leotheme not understand this. Link to comment Share on other sites More sharing options...
mikewra Posted December 9, 2014 Share Posted December 9, 2014 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 More sharing options...
Denisnadal Posted December 9, 2014 Author Share Posted December 9, 2014 Yes, I did this, but the pages appear equally. in product.tpl I searched the line with the code and after the pages appear equally but thanks for your interest Link to comment Share on other sites More sharing options...
mikewra Posted December 9, 2014 Share Posted December 9, 2014 Hmm. How about adding rel="nofollow" into the link? Link to comment Share on other sites More sharing options...
Denisnadal Posted December 30, 2014 Author Share Posted December 30, 2014 I buy this module the problem is solved. http://addons.prestashop.com/es/seo-modulos-prestashop/7228-duplicate-content-handler.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now