Configuring pretty URL management and localhost database