Hello there,
My website was , and as a result in Google search I had link to my website like in this format: mydomain.com/?12345678
This page although does not exist in my WordPress website, DOES NOT lead to page 404, instead it goes to my home page.
If I remove ? than it does go to 404.
I tried installing plugin "404 page - your smart custom 404 error page" But it did not help.
What can I do, so that link goes to 404?