[Skip to main content](#vessel-content)

#   Best way to Selectively No Index Some Products

##

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

11 years 1 month ago [\#215972](#215972) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  Replied by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#215972 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Yup, that is actually the way I have it.

- [ ![Capture.png](/forum/attachment/26797) ](/forum/attachment/26797 "Capture.png") [ ](/forum/attachment/26797?download=1 "Capture.png")
- [ ![Capture2.png](/forum/attachment/26798) ](/forum/attachment/26798 "Capture2.png") [ ](/forum/attachment/26798?download=1 "Capture2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#215975](#215975) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#215975 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hi,

Can you please try with that code ? Code:

if(isset($this-&gt;element)) $noindex = strtolower(trim($this-&gt;element-&gt;meta_noindex)); else $noindex = strtolower(trim(@$this-&gt;row-&gt;meta_noindex)); if($noindex == 'true') {

So we will avoid any kind of problem between "show" and "listing" views ![:)](/media/kunena/emoticons/3.png ":)")

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Yumul](/forum/user/42368-yumul "View Yumul's Profile")**
- [![Yumul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42368-yumul "View Yumul's Profile")
- [ Offline](/forum/user/42368-yumul)

Less More

- Posts: 63
- Thank you received: 1
-
-

10 years 3 months ago [\#247199](#247199) by [Yumul](/forum/user/42368-yumul "View Yumul's Profile")  Replied by *[Yumul](/forum/user/42368-yumul "View Yumul's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#247199 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hi,

Does it work?

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[levelup](/forum/user/61801-levelup "View levelup's Profile")**
- [![levelup's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61801-levelup "View levelup's Profile")
- [ Offline](/forum/user/61801-levelup)

Less More

- Posts: 145
- Thank you received: 6
-
-

4 years 3 months ago [\#343619](#343619) by [levelup](/forum/user/61801-levelup "View levelup's Profile")  Replied by *[levelup](/forum/user/61801-levelup "View levelup's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#343619 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hi nicolas
It seems that this solution cannot be implemented in version 4.6.1. I can't find the link to add the no-index rel to it.

---

Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 3 months ago -  4 years 3 months ago [\#343633](#343633) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#343633 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hello,

Sorry for this return but can you precise your idea, where didn't you find the "**$link**", in which view please.
We have to check is the **url link** and therefore the modification should always be possible, or else we are not talking about the same thing, hence my request for clarification.

Regards

Last edit: 4 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [levelup](/forum/user/61801-levelup "View levelup's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[levelup](/forum/user/61801-levelup "View levelup's Profile")**
- [![levelup's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61801-levelup "View levelup's Profile")
- [ Offline](/forum/user/61801-levelup)

Less More

- Posts: 145
- Thank you received: 6
-
-

4 years 3 months ago -  4 years 3 months ago [\#343701](#343701) by [levelup](/forum/user/61801-levelup "View levelup's Profile")  Replied by *[levelup](/forum/user/61801-levelup "View levelup's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#343701 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hi Philip
In Hikashop version 4.4.4 in the **listing\_img\_title** layout,, I created a custom field of the product type called **indexnoindex**, which will add the **rel="nofollow** to the end of the product link when it is set to yes on the product management page. Code:

&lt;?php /** *------ Add this and add 'rel="nofollow"' at the end of product link in line 40 and 80 */ $index_noindex = ''; if($this-&gt;row-&gt;indexnoindex == '0' &#124;&#124; $this-&gt;row-&gt;indexnoindex == '' ){ $index_noindex = ''; }else{ $index_noindex = 'rel="nofollow"'; } ?&gt; &lt;?php if($haveLink) { ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;" &lt;?php echo $index_noindex;?&gt; &gt; &lt;?php } ?&gt;

I can't find the product link in version 4.6.1

---

Life is the unique stage of our art. Everyone sings their own song and leaves the stage. The stage is always permanent. Blessed is that song that people remember.

Last edit: 4 years 3 months ago by [levelup](/forum/user/61801-levelup "View levelup's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 3 months ago -  4 years 3 months ago [\#343706](#343706) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Best way to Selectively No Index Some Products](/forum/32-content-creation/874807-best-way-to-selectively-no-index-some-products?start=20#343706 "-- url of the page with the problem -- : iheartsin.com -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  I keep reading articles that I should change the product descriptions that I get from manufacturers, as I could be SEO penalized due to duplicate content.  I am in the process of rewriting the most popular products, but for items that I don't want to invest the time in rewriting, articles are suggesting I set them up as no index. What is the easiest way to set some, but not all of the product as no index?  Also, for Hikamarket, if the product is listed on the Vendor page and on the main site, is that going to be considered duplicate content as well?")*

Hello,

The product link is at the very beginning of the view code, and I think I get something about your current code, the **$havelink** variable is no longer written as is, now it's **$this-&gt;havelink**, see my screenshot to understand my point :
[ ![alt](https://i.ibb.co/VQ2jsMs/screenshot.png) ](https://i.ibb.co/VQ2jsMs/screenshot.png "alt")

Hope this will help you to achieve your needs.
Regards

Last edit: 4 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [levelup](/forum/user/61801-levelup "View levelup's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc0ODA3LWJlc3Qtd2F5LXRvLXNlbGVjdGl2ZWx5LW5vLWluZGV4LXNvbWUtcHJvZHVjdHM/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
