converting absolute_url to build_url which returns a relative path with url prefix instead of absolute path