Better permalink positioning
Fix bug with multiple digit ids in urls