changed url to permalink