support for absolute and relative urls
support for absolute and relative urls