Preparing to insert friendly urls in html