accepting full url and only name

now it doesn't matter any more if you type only the page in or if you're typing the full link in