isSeoUrl example

$routingContext = $this->getContext($shop$config);
            $href->setLink($this->filterUrl((string) $this->rewriteRouter->assemble($parameters$routingContext)$parameters));

            if (!$config->get('hrefLangCountry')) {
                $href->setLocale(explode('-', $languageShop['locale'])[0]);
            }

            if ((int) $languageShop['id'] === $config->get('hrefLangDefaultShop')) {
                $href->setLocale('x-default');
            }

            if ($this->config->get('hrefLangJustSeoUrl') && !$this->isSeoUrl($parameters$href->getLink()$routingContext)) {
                continue;
            }

            $hrefs[] = $href;
        }

        if (\count($hrefs) === 1) {
            return [];
        }

        return $hrefs;
    }
Home | Imprint | This part of the site doesn't use cookies.