Add alert messages to show URL errors