priops Posted October 25, 2017 Share Posted October 25, 2017 (edited) Hi, I would like to have the URL: demo.com/product-name Where we have (the standard): demo.com/en/home/18-product-name We will remove Category (as we have same product in many categories) and ID from URL. We modified the route: {category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13} to: {rewrite} Does NOT work. The URL in lists of products is OK (the new), but when pressed, the page is a 404 error. Can you help me configure this SEO option correctly? Thanks! --- Prestashop: 1.7.x SEO: Active Backoffice: Configure > Shop Parameters > Traffic & SEO > SEO & URL > URL > Products route Documentation: http://doc.prestashop.com/display/PS17/SEO+and+URLs#SEOandURLs-SchemaofURL Edited October 25, 2017 by priops minor errors (see edit history) Link to comment Share on other sites More sharing options...
rza_huseynov Posted June 13, 2019 Share Posted June 13, 2019 you just need to modify $default_routes array in /classes/Dispatcher.php 'product_rule' => array( 'rule' => '{category:/}{id}-{rewrite}{-:ean13}.html', http://prntscr.com/o1agta after that you can can save your modifying in backoffice Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now