How to redirect a user to the current page?
Like this you get the actual path:

\Drupal::service('path.current')-&gt;getPath()


and then you just use it as:

$current_page_link = new Drupal\Core\Link('So here you are', Drupal\Core\Url::fromUri('base:' . Drupal::service('path.current')-&gt;getPath()));