use permalink in order to create a relative path