Are you writing the blog from scratch? I think you will have to get to grips with mod_rewrite (Apache).