title: PHP how to customize url
body: <p>I have a website written in PHP, the url to get members is: <code>https://&lt;mydomain&gt;.com/user/get.php?id=1</code> and the url to get articles is <code>https://https://&lt;mydomain&gt;.com/posts/read.php?id=my-post</code> now I want the url to look like <code>https://&lt;mydomain&gt;.com/user/1</code> and <code>https://&lt;mydomain&gt;.com/posts/my-post</code> how can i do that?</p>