How to rewrite the Path of a Website? : <p>actually I'm trying to build up a website to get better in coding but no matter how much i am reading, I dont get how to rewrite paths.</p>

<p>Any tipps how to rewrite 
<a href="http://domain/login/php/login.php" rel="nofollow noreferrer">http://domain/login/php/login.php</a> to <a href="http://domain/login.php" rel="nofollow noreferrer">http://domain/login.php</a> ?</p>

<p>Best regards,
a Saltyy noob :c</p>
