use basename in post url