convert URL to anchor