change index and post page