Re direct

is their a way to make a redirect so if a person trys to hit a page that does not exist it will kick them to some other page? can be asp or html