Display alias instead of node
You can use getAliasByPath function to get the url alias for a path.

Put the below code in THEME_NAME.theme file.

function THEME_NAME_preprocess_page(&amp;$variables) {
  $variables['url_alias'] = \Drupal::service('path.alias_manager')-&gt;getAliasByPath('/node/1');
}


Finally print the url_alias in your page.html.twig file.

{{ url_alias }}