use strip method for absolute urls