8 – Url direct not working

I am trying to redirect a url in drupal 8 but its showing warning. if save it after input source and destination path redirect not working.

Warning: The source path /source-path is likely a valid path. It is preferred to create URL aliases for existing paths rather than redirects.