Google is currently indexing query strings URLs of my website. Google has currently indexed almost 112k URLs that all are duplicate version of other URLs causing my website to slow down and negaitvilty effecting my SEO.
The structure of query strings url is as follows: https://example.com?te=6.18.1346158.4.18.76.huffy+blue+and+white+bike
I have contacted search community earlier and they have suggested me to add no index meta tags in my .htacces file with the following code
<If “%{QUERY_STRING} =~ /te=/”> Header set X-Robots-Tag noindex
Also, I have tried it using robot.txt file to block those urls but no relief.
It’s been two weeks since I added this code on my .htacces file in my cpanel but still google is indexing those qyery strings parameter URLs.
I am unable to figure out what’s the issue please suggest me a possible solution for this as it hitting my website tremendously day by day 🙁