How to update your permalink structure in ghost

It was a really hard way to figure out how I actually can edit the permalink structure of my new ghost weblog. It is really important to have the same structure like I had in my wordpress weblog before, because otherwise all my published URLs in facebook etc. pp. won't…