I’m referring to specific product not all products. I’ve googled and can’t find any answer to this.
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
there are a few solutions, maybe you’d like to use meta tags noindex. It would be something like this:
There are many ways to skin a cat.
You can use the Robot.txt.
You can disallow a certians URLs:
Or certains file type:
Or images:
Or Gifs:
You can use PHP:
Paste this between
<head>
and</head>
if you want to disallow a certain post (change “ID” with your post ID), (You have tons of plugins that can help you customise the Header without need of codeing):You can even block multiple ones using the
||
operator:Or you can block a certain post title:
Multiple post title, always using the
||
operator:After you applied the change:
After you applied the change wait a few days. Then go to Google Webmaster and check what pages are indexed and what are not indexed.