use relative url when posting a new entry.