title: URL alias based on language in PHP
body: <p>I created a multilingual hotel site. The URLs look like the following:</p>
  
  <blockquote>
    <p>www.blahblah.com/apartments.php?lang=en</p>
  </blockquote>
  
  <p>What I want now is for a different language, say German, to have the following URL.:</p>
  
  <blockquote>
    <p>www.blahblah.com/somethingElseHere.php?lang=de</p>
  </blockquote>
  
  <p>I want that, in order to help my SEO for the website.</p>
  
  <p>I think I have to use a URL alias, but I am not sure how to start. </p>
  
  <p>Any ideas?</p>