@mdekker said in Seo url not working:
Store domain is in both the ps_configuration table and ps_shop table.
```
PrestaShopException
Class 'DuplicateURLRedirect' not found
at line 23 in file override/classes/controller/FrontController.php
php
18. }
19.
20. public function init()
21. {
22. include_once(_PS_MODULE_DIR_.'/duplicateurlredirect/duplicateurlredirect.php');
23. => $dup = new DuplicateURLRedirect();
24. $dup->redirect();
25. parent::init();
26. }
27.
28.
- FrontController->init - [line 373 - classes/controller/Controller.php]
php
368. }
369. }
370. echo $content;
371.
372. } else {
373. => $this->init();
374. if ($this->checkAccess()) {
375. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
376. $this->setMedia();
377. }
378.
- ControllerCore->run - [line 742 - classes/Dispatcher.php]
php
737. if (isset($paramsHookActionDispatcher)) {
738. Hook::exec('actionDispatcher', $paramsHookActionDispatcher);
739. }
740.
741. // Running controller
742. => $controller->run();
743. } catch (PrestaShopException $e) {
744. $e->displayMessage();
745. }
746. }
747.
- DispatcherCore->dispatch - [line 33 - index.php]
php
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. require(dirname(__FILE__).'/config/config.inc.php');
33. => Dispatcher::getInstance()->dispatch();
```