As you can see in the screenshot below, my site has a lot of "excluded" links, more than 34K, which is unusual:
However I don't have that many links in my website:
I'm worried about my SEO and search appearance.
I found out that all the links that are excluded have "?" in their address, but I don't need them at all.
So I tried to not index them using my robots.txt, which appears like this:
User-agent: *
Disallow: /*?*
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Is this OK? Is there any other way to handle this?
By the way, I'm using WordPress and a custom theme and plugins.