Is there any way that a user can be automatically redirected to an alternative page if the page they wanted does not exist. I have tried a few methods which work, but not every time – which is useful!
That code supposed to get the external url as a string for later use, but I guess you might medify it to redirect to another location if the connection is not established