Fixed issue where all url paths kept pointing to the home page.