diff --git a/easy_breadcrumb.services.yml b/easy_breadcrumb.services.yml
index f40b4ab..bc2d378 100644
--- a/easy_breadcrumb.services.yml
+++ b/easy_breadcrumb.services.yml
@@ -1,6 +1,6 @@
 services:
   easy_breadcrumb.breadcrumb:
     class: Drupal\easy_breadcrumb\EasyBreadcrumbBuilder
-    arguments: ['@router.request_context', '@access_manager', '@router', '@request_stack', '@path_processor_manager', '@config.factory', '@title_resolver', '@current_user', '@path.current', '@plugin.manager.menu.link', '@language_manager', '@entity_type.manager', '@entity.repository', '@logger.factory', '@messenger']
+    arguments: ['@router.request_context', '@access_manager', '@router', '@request_stack', '@path_processor_manager', '@config.factory', '@title_resolver', '@current_user', '@path.current', '@plugin.manager.menu.link', '@language_manager', '@entity_type.manager', '@entity.repository', '@logger.factory', '@messenger', '@path.alias_manager']
     tags:
       - { name: breadcrumb_builder, priority: 1003 }
diff --git a/src/EasyBreadcrumbBuilder.php b/src/EasyBreadcrumbBuilder.php
index 5a0293d..58ba2bc 100755
--- a/src/EasyBreadcrumbBuilder.php
+++ b/src/EasyBreadcrumbBuilder.php
@@ -37,6 +37,7 @@ use Symfony\Component\Routing\Matcher\RequestMatcherInterface;
 use Symfony\Component\Routing\Exception\RouteNotFoundException;
 use Drupal\Core\Entity\EntityTypeManagerInterface;
 use Drupal\Core\Entity\EntityRepositoryInterface;
+use Drupal\Core\Path\AliasManager;
 
 /**
  * Primary implementation for the Easy Breadcrumb builder.
@@ -155,6 +156,13 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
    */
   protected $messenger;
 
+  /**
+   * AliasManager
+   *
+   * @var Drupal\Core\Path\AliasManager
+   */
+  protected $aliasManager;
+
   /**
    * Constructs the EasyBreadcrumbBuilder.
    *
@@ -188,8 +196,10 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
    *   The logger service.
    * @param \Drupal\Core\Messenger\MessengerInterface $messenger
    *   The messenger service.
+   * @param \Drupal\Core\Path\AliasManager $alias_manager
+   *   The path alias manager service.
    */
-  public function __construct(RequestContext $context, AccessManagerInterface $access_manager, RequestMatcherInterface $router, RequestStack $request_stack, InboundPathProcessorInterface $path_processor, ConfigFactoryInterface $config_factory, TitleResolverInterface $title_resolver, AccountInterface $current_user, CurrentPathStack $current_path, MenuLinkManager $menu_link_manager, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, EntityRepositoryInterface $entity_repository, LoggerChannelFactoryInterface $logger, MessengerInterface $messenger) {
+  public function __construct(RequestContext $context, AccessManagerInterface $access_manager, RequestMatcherInterface $router, RequestStack $request_stack, InboundPathProcessorInterface $path_processor, ConfigFactoryInterface $config_factory, TitleResolverInterface $title_resolver, AccountInterface $current_user, CurrentPathStack $current_path, MenuLinkManager $menu_link_manager, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, EntityRepositoryInterface $entity_repository, LoggerChannelFactoryInterface $logger, MessengerInterface $messenger, AliasManager $alias_manager) {
     $this->context = $context;
     $this->accessManager = $access_manager;
     $this->router = $router;
@@ -206,6 +216,7 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
     $this->entityRepository = $entity_repository;
     $this->logger = $logger;
     $this->messenger = $messenger;
+    $this->aliasManager = $alias_manager;
   }
 
   /**
@@ -256,7 +267,7 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
     $path = trim($this->context->getPathInfo(), '/');
     $path = urldecode($path);
     $path_elements = explode('/', $path);
-    $front = $this->siteConfig->get('page.front');
+    $front = $this->aliasManager->getAliasByPath($this->siteConfig->get('page.front'));
 
     // Give the option to keep the breadcrumb on the front page.
     $keep_front = !empty($this->config->get(EasyBreadcrumbConstants::HOME_SEGMENT_TITLE))
@@ -266,55 +277,58 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
     $exclude['/user'] = TRUE;
 
     // See if we are doing a Custom Path override.
-    $path_crumb_row = preg_split('/[\r\n]+/', $this->config->get(EasyBreadcrumbConstants::CUSTOM_PATHS));
-    foreach ($path_crumb_row as $path_crumb) {
-      $values = explode("::", $path_crumb);
+    if (!empty($this->config->get(EasyBreadcrumbConstants::CUSTOM_PATHS))) {
+      $path_crumb_row = preg_split('/[\r\n]+/', $this->config->get(EasyBreadcrumbConstants::CUSTOM_PATHS));
 
-      // Shift path off array.
-      $custom_path = array_shift($values);
+      foreach ($path_crumb_row as $path_crumb) {
+        $values = explode("::", $path_crumb);
 
-      // Strip of leading/ending slashes and spaces/tabs (allows indenting
-      // rows on config page).
-      $custom_path = trim($custom_path, "/ \t");
+        // Shift path off array.
+        $custom_path = array_shift($values);
 
-      // If the path matches the current path, build the breadcrumbs.
-      if ($path == $custom_path) {
-        if ($this->config->get(EasyBreadcrumbConstants::INCLUDE_HOME_SEGMENT)) {
-          $links[] = Link::createFromRoute($this->config->get(EasyBreadcrumbConstants::HOME_SEGMENT_TITLE), '<front>');
-        }
+        // Strip of leading/ending slashes and spaces/tabs (allows indenting
+        // rows on config page).
+        $custom_path = trim($custom_path, "/ \t");
 
-        // Get $title|[$url] pairs from $values.
-        foreach ($values as $pair) {
-          $settings = explode("|", $pair);
-          $title = trim($settings[0]);
+        // If the path matches the current path, build the breadcrumbs.
+        if ($path == $custom_path) {
+          if ($this->config->get(EasyBreadcrumbConstants::INCLUDE_HOME_SEGMENT)) {
+            $links[] = Link::createFromRoute($this->config->get(EasyBreadcrumbConstants::HOME_SEGMENT_TITLE), '<front>');
+          }
+
+          // Get $title|[$url] pairs from $values.
+          foreach ($values as $pair) {
+            $settings = explode("|", $pair);
+            $title = trim($settings[0]);
 
-          // Get URL if it is provided.
-          $url = '';
-          if (isset($settings[1])) {
-            $url = trim($settings[1]);
+            // Get URL if it is provided.
+            $url = '';
+            if (isset($settings[1])) {
+              $url = trim($settings[1]);
 
-            // If URL is invalid, then display warning and disable the link.
-            if (!UrlHelper::isValid($url)) {
-              $this->messenger->addWarning($this->t("EasyBreadcrumb: Custom crumb for @path URL '@url' is invalid.", ['@path' => $path, '@url' => $url]));
-              $url = '';
+              // If URL is invalid, then display warning and disable the link.
+              if (!UrlHelper::isValid($url)) {
+                $this->messenger->addWarning($this->t("EasyBreadcrumb: Custom crumb for @path URL '@url' is invalid.", ['@path' => $path, '@url' => $url]));
+                $url = '';
+              }
             }
-          }
 
-          if ($url) {
-            $links[] = new Link($title, URL::fromUserInput($url, ['absolute' => TRUE]));
-          }
-          else {
-            $links[] = Link::createFromRoute($title, '<none>');
+            if ($url) {
+              $links[] = new Link($title, URL::fromUserInput($url, ['absolute' => TRUE]));
+            }
+            else {
+              $links[] = Link::createFromRoute($title, '<none>');
+            }
           }
-        }
 
-        // Expire the cache per url.
-        $breadcrumb->addCacheContexts(['url.path']);
+          // Expire the cache per url.
+          $breadcrumb->addCacheContexts(['url.path']);
 
-        // Expire cache context for config changes.
-        $breadcrumb->addCacheableDependency($this->config);
+          // Expire cache context for config changes.
+          $breadcrumb->addCacheableDependency($this->config);
 
-        return $breadcrumb->setLinks($links);
+          return $breadcrumb->setLinks($links);
+        }
       }
     }
 
@@ -685,3 +699,4 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
   }
 
 }
+
diff --git a/tests/src/Kernel/EasyBreadcrumbBuilderTest.php b/tests/src/Kernel/EasyBreadcrumbBuilderTest.php
index 1eb7301..826f4e7 100644
--- a/tests/src/Kernel/EasyBreadcrumbBuilderTest.php
+++ b/tests/src/Kernel/EasyBreadcrumbBuilderTest.php
@@ -47,7 +47,8 @@ class EasyBreadcrumbBuilderTest extends KernelTestBase {
       \Drupal::service('entity_type.manager'),
       \Drupal::service('entity.repository'),
       \Drupal::service('logger.factory'),
-      \Drupal::service('messenger')
+      \Drupal::service('messenger'),
+      \Drupal::service('path.alias_manager')
     );
 
     $route_match = new RouteMatch('test_front', new Route('/front'));
@@ -93,7 +94,8 @@ class EasyBreadcrumbBuilderTest extends KernelTestBase {
       \Drupal::service('entity_type.manager'),
       \Drupal::service('entity.repository'),
       \Drupal::service('logger.factory'),
-      \Drupal::service('messenger')
+      \Drupal::service('messenger'),
+      \Drupal::service('path.alias_manager')
     );
 
     $request = Request::create($url->getInternalPath());
