title: How to remove question mark from URL
body: <p>Is there any way I can remove the question mark from URL? Now lets say that the URL can be <code>http://www.domain.com/profile?a=10</code> but it can also be <code>http://www.domain.com/profile?b=ticket</code>. </p>
  
  <p>So in the first case my URL should be <code>http://www.domain.com/profile/10</code> and in the second <code>http://www.domain.com/profile/ticket</code>.</p>
  
  <p>But I still want to be able to use <code>$_GET</code> in <code>PHP</code>. So what I really want is to remove the question mark only to the user, but in the server it should work the same. Is there any way I can do this, probably using <code>htaccess</code>.  I am running <code>apache2</code> as my webserver on Ubuntu 14.10.</p>