Our website includes a referral system where clients can advertise for our service with a special link. Instead of example.org the link looks like example.org?r=xyz. Unfortunately, we forgot to tell Google the r parameter will not change any website content in the webmaster tools, thus Google found a referral link on one of the clients own websites and indexed it.Obviously, we don't want to honor this client when people came from Google instead. I've already changed the parameter properties in the webmaster tools. Now, how can I remove links such as example.org?r=xyz without removing example.org, permanently?
Remove URLs with specific parameters from Google Search results
google search console;google search
Now you've correctly told Google the purpose of the URL parameter in Google Search Console, it will take a while for Google to remove the URL with the parameter from search results. After a couple of weeks, the result should disappear from search.You can still try Google Search Console's URL removal tool. This may encourage Google to drop the result faster. The tool provides temporary removal of URLs but upon re-crawling the URL parameters settings will take effect.