I know, such a question has been asked and answered multiple times in the past before. However, as I tried out all the solutions I found online, it didn't solve my problem. The issue is that I have a wordpress site, which, when someone googles the address, google gives some results of pages are empty. The site in question is garrymbsmith.com and the unwanted results are for example http://www.garrymbsmith.com/?nava=contact http://www.garrymbsmith.com/?nava=home-2
These results unfortunately don't give a 404 error page as it would be easy then to just modify the 404.php file and redirect people straight to the home page. They seem like normal pages but they are not. They are empty and the main navigation bar on top also doesn't help people go to the home page (the site is a single page website and the menu links are actually targeting anchor links within the same home page).
As I said, editing the 404.php didn't help as they are not such kind of pages. I searched super thorougly within the admin area for unwanted pages, posts, tags, categories, galleries etc... but without any luck... I can't find anything that justifies the existence of these links.
So, I hope that someone can help me with this as it is driving me crazy. I believe that with htaccess I could force these 3 links to redirect to the home page... Help please!!! Many thanks in advance
Zisis