understand how to replace url