Seo url not working



  • I have migrate another site, but i have a problem with this one.
    if i change the domein it changing back.
    The other shops i migrated no problem.


  • administrators

    Store domain is in both the ps_configuration table and ps_shop table.



  • @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]
    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]
    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]
    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();
    


  • Yes i have change that
    I have the error dycrpted.
    It’s from a add-on, but i don’t have anymore.



  • I have change some setting in the db and i working now.
    But is see the db is a mess after the migration.
    How can i clean and fix the db in a quick way?



  • If i install some old add-ons.
    The site is not working. blank page
    how can i uninstall the addons?


  • administrators

    You can remove the folders


  • administrators

    What are the modules btw?



  • the same problem. I think i must removed in the db



  • SEO, blog, payment gateways…


  • administrators

    names?



  • Duplicate URL Redirect
    EnvoiMoinsCher
    SEO Friendly URLs
    BASEO - Prestashop Smart SEO Plus Manage
    Smart Blog
    Smart Blog Search



  • How can i delete the modules, without corrupting my shop?
    Folder deleting not working.


  • Global Moderator

    Apparently these modules installed files outside their own folder. Maybe even modified existing ones. Which makes rolling back hard, perhaps impossible.

    I’d try it this way:

    • Make a database backup with phpMyAdmin.
    • Back up the img/ folder.
    • Delete the database.
    • Start over with a virgin installation, no demo products, same database name.
    • Restore database and img/ folder.
    • Recreate thumbnails, .htaccess and robots.txt.


  • @Traumflug, does your tricks working for a Ps 1.6 migration please ?


  • Global Moderator

    For a PS 1.6 migration there’s a migration module which does something similar: https://thirtybees.com/migrate-from-prestashop/


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.