fix post url's on the index page