parse page id from URL
redirect / to /page/index