so how do I do this?
Example:
yourdomain.com
and when someone types in a page that is not really there like this
yourdomain.com/whatevertheytype
yourdomain.com/whatevertheytype.php
ect
So how do i make it redirect it back to home when
the user is on a page that has nothing or not even
on the server?
You want to setup a 404 error page. Details will vary depending on the server you are using but here is a link with some tips