I want to redirect any page that the user can type wrong to Main page.
Example:
I have pages
mydomain.com/home
And
mydomain.com/contact
any other pages i want to be redirected to Home.
I heard about 404.php and .htaccess files, but i don´t know how to make a simple redirect.