diff -u b/src/PathautoGenerator.php b/src/PathautoGenerator.php --- b/src/PathautoGenerator.php +++ b/src/PathautoGenerator.php @@ -411,7 +411,9 @@ // Check child entity's pathauto pattern for menu link parent // tokens. $child_entity_pattern = $this->getPatternByEntity($child_entity); - if ($child_entity_pattern + if ( + ($child_entity->id() !== $entity->id && $child_entity->getEntityTypeId() !== $entity->getEntityTypeId()) + && $child_entity_pattern && strpos($child_entity_pattern->getPattern(), ':menu-link:parent') !== 0 ) { // Update the child entity's alias.