title: redirecting php file regardless of what is typed after url
body: <p>I am somewhat new to php, JavaScript and all those languages involved in creating a website. I was wondering how to redirect no mater what you type after a given URL i.e. when I type something else after the following url <a href="https://stackoverflow.com/questions/30617744/using-custom-rewrite-rules-in-wordpress/whatever_I_type_here">Using custom rewrite rules in Wordpress</a>, it always redirects me to the same site. How is this accomplished?</p>