title: How can I redirect all address bar requests to one index page? And use a requested subfolder as input
body: <p>I am using PHP, Ajax, JS, and HTML and after many searches, I am per-google-plexed.</p>
  
  <p>How can I take a user visiting www.foo.com/bar to www.foo.com/index.php and use <i>bar</i> as input?</p>
  
  <p>I want to avoid creating a folder for each possible value.</p>
  
  <p>I would like to keep /bar in the address bar</p>