Author Topic: Stop child products being indexed (SOLVED)  (Read 940 times)

Bigitybossman

  • Beginner
  • *
  • Posts: 31
Stop child products being indexed (SOLVED)
« on: August 19, 2016, 02:35:46 am »
Hi,

I was wondering if there is a way to stop child products from being indexed into search engines?

At the moment google is indexing my parent product along with all the children. I don't really think there is any need for this as all the children products are identical to the parent except for the price and quantity (multi varient and ramifications have been used).

Also, when clicking on the child product link from google, the child product loads with no modules assigned as it is not a menu item. So the page is not complete.

Does anyone have any ideas how to stop search engines indexing the multivariant child products?

Cheers

VMTemplates.net

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 112
  • VirtueMart Templates Developer
    • VirtueMartTemplates.net
  • VirtueMart Version: 3.2.24
Re: Stop child products being indexed
« Reply #1 on: August 19, 2016, 09:32:36 am »
Hi,

1. open your child product
2. go to Product Description tab and scroll down to 'Meta Information'
3. Set 'No Index, No follow'

Thanks
Jason
We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

Bigitybossman

  • Beginner
  • *
  • Posts: 31
Re: Stop child products being indexed
« Reply #2 on: August 20, 2016, 02:07:47 am »
Hi,

Thanks for your response, I will give this a go.

I have over 800 child products, do you know if there is any way that you can think of to do a bulk change?

Cheers

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9222
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Stop child products being indexed
« Reply #3 on: August 20, 2016, 10:59:13 am »
in DB

UPDATE `#__virtuemart_products` SET `metarobot`= 'noindex, nofollow' WHERE `product_parent_id` > 0
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Bigitybossman

  • Beginner
  • *
  • Posts: 31
Re: Stop child products being indexed
« Reply #4 on: August 21, 2016, 06:34:10 am »
Thanks GJC that should be very helpful.

I will do a backup and give it a go.

appreciate the help guys.  :)

Cheers

Bigitybossman

  • Beginner
  • *
  • Posts: 31
Re: Stop child products being indexed
« Reply #5 on: August 22, 2016, 02:59:30 am »
Hi,

Your suggestion worked perfectly, just needed to put in my DB suffix to the front.

Thanks again, you have saved my hours of work.