Move permalink structure and hostname into config