diff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 40323b0d21..8c9145aa9a 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -16,6 +16,14 @@
 use Drupal\Core\Routing\RouteMatchInterface;
 use Drupal\path\PathAliasForm;
 use Drupal\path\PathAliasListBuilder;
+use Drupal\Core\Entity\EntityFormInterface;
+
+/**
+ * The default entity types.
+ *
+ * @var array
+ */
+const DEFAULT_ENTITY_TYPES = ['taxonomy_term', 'node', 'media', 'user'];
 
 /**
  * Implements hook_help().
@@ -98,7 +106,7 @@ function path_entity_base_field_info_alter(&$fields, EntityTypeInterface $entity
  * Implements hook_entity_base_field_info().
  */
 function path_entity_base_field_info(EntityTypeInterface $entity_type) {
-  if (in_array($entity_type->id(), ['taxonomy_term', 'node', 'media'], TRUE)) {
+  if (in_array($entity_type->id(), DEFAULT_ENTITY_TYPES, TRUE)) {
     $fields['path'] = BaseFieldDefinition::create('path')
       ->setLabel(t('URL alias'))
       ->setTranslatable(TRUE)
@@ -156,3 +164,29 @@ function path_field_widget_form_alter(&$element, FormStateInterface $form_state,
     }
   }
 }
+
+/**
+ * Implements hook_form_alter().
+ */
+function path_form_alter(&$form, FormStateInterface $form_state) {
+  if ($form_state->getFormObject() instanceof EntityFormInterface) {
+    $entity = $form_state->getFormObject()->getEntity();
+    if (in_array($entity->getEntityTypeId(), DEFAULT_ENTITY_TYPES)) {
+      $form['path_settings'] = [
+        '#type' => 'details',
+        '#title' => t('URL path settings'),
+        '#open' => !empty($form['path']['widget'][0]['alias']['#value']),
+        '#group' => 'advanced',
+        '#access' => !empty($form['path']['#access']) && $entity->hasField('path') && $entity->get('path')->access('edit'),
+        '#attributes' => [
+          'class' => ['path-form'],
+        ],
+        '#attached' => [
+          'library' => ['path/drupal.path'],
+        ],
+        '#weight' => 30,
+      ];
+      $form['path']['#group'] = 'path_settings';
+    }
+  }
+}
diff --git a/core/profiles/demo_umami/config/install/core.entity_form_display.user.user.default.yml b/core/profiles/demo_umami/config/install/core.entity_form_display.user.user.default.yml
index bcd230c637..833858ed1e 100644
--- a/core/profiles/demo_umami/config/install/core.entity_form_display.user.user.default.yml
+++ b/core/profiles/demo_umami/config/install/core.entity_form_display.user.user.default.yml
@@ -6,6 +6,7 @@ dependencies:
     - image.style.thumbnail
   module:
     - image
+    - path
     - user
 id: user.user.default
 targetEntityType: user
@@ -21,6 +22,12 @@ content:
   language:
     weight: 0
     region: content
+  path:
+    type: path
+    settings: {  }
+    third_party_settings: {  }
+    weight: 30
+    region: content
   timezone:
     weight: 6
     region: content
diff --git a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
index 6832229268..0d823880e6 100644
--- a/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
+++ b/core/profiles/standard/config/install/core.entity_form_display.user.user.default.yml
@@ -6,6 +6,7 @@ dependencies:
     - image.style.thumbnail
   module:
     - image
+    - path
     - user
 id: user.user.default
 targetEntityType: user
@@ -21,6 +22,12 @@ content:
   language:
     weight: 0
     region: content
+  path:
+    type: path
+    settings: {  }
+    third_party_settings: {  }
+    weight: 30
+    region: content
   timezone:
     weight: 6
     region: content
