I started using a plugin to cloak my affiliate links since some days. But My affiliate links got indexed in google.
I used noindex in Yoast plugin, Just after installing affiliate link cloaking plugin
I disallowed affiliate links from robots.txt , Disallow: /link/
Please let me know how can i overcome this issue
Make sure to use noindex, nofollow for affiliate path.
Please note: Blocking affiliate URLs with robots.txt is not a way to de-index.
Bro, I also changed setting from yoast just after installation of plugin - https://s2.postimg.org/f5vzen13d/image.jpg
Is there any other thing required, Please let me know?
And Should i Use Index for pages also? (I’m new in these stuff)
Still got indexed
Try this method…
Note: Simply, keep noindex,nofollow with plugin settings. Affiliate path shouldn’t be blocked with robots.txt
Thanks dear, I have removed disallow affiliate links code in robots.txt as u said and
Removed directory from google search console. I hope it will solve my issue
Yes, I think with in a week URL should be deindexed. You can check it later by searching inurl:example.com/go/
All the best!
Thanks for help!!
My 7-8 pages are also indexed in google, like - http://website.com/page/5 , http://website.com/page/17 etc.
SHould i remove these pages also by search console?? by removing http://website.com/page/ directory