Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

No Index Specific Products Rate Topic   - - - - -

 
  • Aletro
  • Senior Member
  • Members
  • Join Date: 05-Dec 14
  • 216 posts

Posted 20 August 2017 - 04:32 PM #1

HI,

how can i have NO INDEX in specific products page?


www.shankara.it | cs-cart v. 3.0.2

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19766 posts

Posted 21 August 2017 - 05:23 AM #2

HI,

how can i have NO INDEX in specific products page?

 

You can use the My changes module and the following file

 

design/themes/THEME/templates/addons/my_changes/hooks/index/meta.post.tpl

 

The content should be similar to 

{if $product.product_id == '111' || $product.product_id == '222'}
<meta name="robots" content="noindex,nofollow" />
{/if}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sadesh
  • Member
  • Trial users
  • Join Date: 03-Jan 17
  • 21 posts

Posted 11 October 2017 - 02:09 PM #3

if you added your website in google webmaster tool then there will one option available for you that is robots.txt Tester in that you can add the URL which you want to no index.



 
  • ThomH
  • Senior Member
  • Members
  • Join Date: 20-Nov 07
  • 1572 posts

Posted 12 October 2017 - 08:25 AM #4

With the Custom dynamic search optimization (CDSEO) add-on you can specify a canonical tag for each products (e.g. your main page or any category, etc.) that you don't want to be indexed. With this solution you will not lose the SEO score.


WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --


CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq


 
  • lolo212
  • Advanced Member
  • Members
  • Join Date: 07-Aug 12
  • 70 posts

Posted 06 November 2019 - 01:58 PM #5

 

You can use the My changes module and the following file

 

design/themes/THEME/templates/addons/my_changes/hooks/index/meta.post.tpl

 

The content should be similar to 

{if $product.product_id == '111' || $product.product_id == '222'}
<meta name="robots" content="noindex,nofollow" />
{/if}

 

Hi, how to modify the code to work with selected pages?


albahurt.pl - wholesale distribution of promotional clothing - t-shirts, sweatshirts, polos...


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19766 posts

Posted 07 November 2019 - 05:41 AM #6

Use

{if $page.page_id == '111' || $page.page_id == '222'}
<meta name="robots" content="noindex,nofollow" />
{/if}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.